Error: Cannot use AuthSession proxy because the project ID is not defined. Please report this as a bug with the contents of `expo config --type public`.

In your post, please share:

  • Whether you are bare or managed workflow: Managed
  • Your eas-cli version: eas-cli/1.1.1 darwin-x64 node-v14.17.1
  • What you have tried so far: Googling similar issues but to no avail

I encountered this error when in debug mode (expo start)

Error: Cannot use AuthSession proxy because the project ID is not defined. Please report this as a bug with the contents of `expo config --type public`.

Here is the content of expo config --type public:

{
  name: 'StockPeek',
  slug: 'stockpeek-test',
  version: '0.7.3',
  sdkVersion: '44.0.0',
  owner: 'stockpeek-engineering',
  orientation: 'portrait',
  icon: './src/assets/images/stockpeek-app-icon.png',
  scheme: 'stockpeek',
  userInterfaceStyle: 'automatic',
  assetBundlePatterns: [
    'src/assets/*'
  ],
  description: 'StockPeek App',
  plugins: [
    'sentry-expo',
    [
      'expo-document-picker',
      {
        appleTeamId: 'Z6T82CYH8Y'
      }
    ]
  ],
  githubUrl: 'https://github.com/StockPeekID/stockpeek-app/',
  platforms: [
    'ios',
    'android'
  ],
  currentFullName: '@stockpeek-engineering/stockpeek-test',
  originalFullName: '@stockpeek-engineering/stockpeek-test',
  splash: {
    image: './src/assets/images/splash-screen.png',
    resizeMode: 'cover'
  },
  updates: {
    fallbackToCacheTimeout: 0,
    url: 'https://u.expo.dev/678a4d84-99af-42eb-b347-1993a7d6dd68'
  },
  ios: {
    supportsTablet: true,
    bundleIdentifier: 'id.stockpeek.app',
    buildNumber: '1',
    infoPlist: {
      NSPhotoLibraryUsageDescription: 'This app accesses the photo library for users to choose their profile pictures.',
      NSCameraUsageDescription: 'This app accesses the phone camera for users to choose their profile pictures.'
    }
  },
  android: {
    useNextNotificationsApi: true,
    googleServicesFile: './google-services.json',
    package: 'id.stockpeek.app',
    versionCode: 87,
    permissions: [
      'READ_EXTERNAL_STORAGE',
      'WRITE_EXTERNAL_STORAGE',
      'CAMERA',
      'RECORD_AUDIO',
      'VIBRATE'
    ],
    adaptiveIcon: {
      foregroundImage: './src/assets/images/stockpeek-app-icon.png',
      backgroundColor: '#ffffff'
    }
  },
  web: {
    favicon: './src/assets/images/favicon.png'
  },
  extra: {
    eas: {
      projectId: '678a4d84-99af-42eb-b347-1993a7d6dd68'
    }
  },
  runtimeVersion: {
    policy: 'sdkVersion'
  }
}

Does anyone know the solution to this problem? Thank you!

remove extra->eas->projectId section and try expo r -c
i’m using expo sdk 44.
when i configure eas build:configure and try expo r -c, i see same issue with you.