EAS Install dependencies fails after adding a video SDK: deduped package below its peer range
npmConfirmed fix
Expo SDK 57, Stream Video RN SDK
There is no error message for this one, only the symptom in the title.
Cause
The lockfile had react-native-url-polyfill deduped at 2.0.0 while the newly added video SDK peers ^3.0.0. npm accepted it locally but EAS's clean npm ci failed.
Fix
Delete node_modules and package-lock.json, run npm install (with npm 10 if EAS uses npm 10), verify with npm ci, and commit the regenerated lockfile on its own.
More npm errors
- EAS build fails at Install dependencies: Missing package from lock filenpm error `npm ci` can only install packages when your package.json and package-lock.json are in sync. Missing: @shopify/flash-list@2.3.2 from lock file
npm ci | tailreports exit 0 but the build still fails on installnpx -y typescript@x tsc --noEmitprints no TS errors but did not typecheck at allcould not determine executable to run