picker
picker copied to clipboard
EAS build failing with a mismatch with react version
I am building my expo app use EAS
I run eas build --platform android
It throws me an err
Running npm in the root dir of your repository
[stderr] npm ERR! code ERESOLVE
[stderr] npm ERR!
[stderr] ERESOLVE unable to resolve dependency tree
[stderr] npm ERR!
[stderr] npm ERR! While resolving: undefined@undefined
[stderr] npm ERR! Found: [email protected]
[stderr] npm ERR! node_modules/react
[stderr] npm ERR! react@"^17.0.1" from the root project
[stderr] npm ERR!
[stderr] npm ERR! Could not resolve dependency:
[stderr] npm ERR! peer react@"^16.0" from @react-native-community/[email protected]
[stderr] npm ERR! node_modules/@react-native-community/picker
[stderr] npm ERR! @react-native-community/picker@"^1.8.1" from the root project
[stderr] npm ERR!
[stderr] npm ERR! Fix the upstream dependency conflict, or retry
[stderr] npm ERR! this command with --force, or --legacy-peer-deps
[stderr] npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
[stderr] npm ERR!
[stderr] npm ERR! See /home/expo/.npm/eresolve-report.txt for a full report.
[stderr]
[stderr] npm ERR! A complete log of this run can be found in:
[stderr] npm ERR! /home/expo/.npm/_logs/2022-05-04T18_23_16_673Z-debug.log
npm exited with non-zero code: 1
I request react-native-picker devs to support version 17 of react
My react version: 17.0.1 Picker version: ^1.8.1
@ThisIsArnav I'm facing the same issue, could you resolve it? My react version: "react": "18.0.0" @react-native-picker/picker: 2.4.2 "expo": "~46.0.16"
It's weird because 2 weeks ago I could build and submit to the store (Google and Apple) without problem
@ggbono Did you find a solution to that problem? I am dealing with the same issue right now. Thank you!
I'm also getting the same issue.