🐛 Description
The iOS build process using eas build -p ios --profile production --local fails during the install dependencies step.
Error details:
npm ERR! code ERESOLVE
npm ERR! Could not resolve dependency:
npm ERR! peer react@"^19" from @welldone-software/[email protected]
npm ERR! node_modules/@welldone-software/why-did-you-render
npm ERR! dev @welldone-software/why-did-you-render@"10.0.1" from the root project
npm ERR!
npm ERR! Found: [email protected]
npm ERR! node_modules/react
npm ERR! react@"18.3.1" from the root project
npm ERR! peer react@"*" from @alantoa/[email protected]
...
This appears to be a peer dependency mismatch between [email protected] (our current version) and @welldone-software/[email protected] which expects react@^19.
✅ Steps to Reproduce
- Run
pnpm build:ios:local on the project.
- Observe that
npm install fails during the dependency installation phase.
🧐 Expected Behavior
Dependencies should resolve successfully, and the build should proceed.
❌ Actual Behavior
Build fails with ERESOLVE due to conflicting react peer dependencies.
📄 Environment
| Key |
Value |
| Project Version |
4.0.19 |
| Platform |
iOS |
| Build tool |
eas-cli local build |
| react |
18.3.1 |
| why-did-you-render |
10.0.1 |
| Node |
v20.x |
| npm |
v10.x |
| OS |
macOS |