Expo SDK 35 Upgrade - Unable to authenticate error

Please provide the following:

  1. SDK Version: 35
  2. Platforms(Android/iOS/web/all): all

expo upgrade command fails with following error:
39 verbose stack Error: Unable to authenticate, need: Basic realm=“GitHub”
39 verbose stack at /usr/local/lib/node_modules/npm/node_modules/npm-registry-fetch/check-response.js:94:17
39 verbose stack at processTicksAndRejections (internal/process/task_queues.js:93:5)

Any ideas?

Realized this was simple npm registry issue. For anyone encountering this issue, check your .npmrc file and registry setting using npm config get registry

3 Likes

Thanks for sharing the solution here @girishjjain.