Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

npm ERR! code ERESOLVE - cannot install package #45

Open
Goowwy opened this issue Nov 12, 2022 · 7 comments
Open

npm ERR! code ERESOLVE - cannot install package #45

Goowwy opened this issue Nov 12, 2022 · 7 comments

Comments

@Goowwy
Copy link

Goowwy commented Nov 12, 2022

npm ERR! Found: [email protected]
npm ERR! node_modules/react-native
npm ERR! react-native@"0.68.2" from the root project
npm ERR! peer react-native@">=0.57" from @react-native-picker/[email protected]
npm ERR! node_modules/@react-native-picker/picker
npm ERR! peer @react-native-picker/picker@">= 2.0" from [email protected]
npm ERR! node_modules/react-native-phone-input
npm ERR! react-native-phone-input@"" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer react-native@"^0.70.4" from [email protected]
npm ERR! node_modules/react-native-phone-input
npm ERR! react-native-phone-input@"
" from the root project
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.

@mcdominik
Copy link

I have very similar problem.

npm ERR! code ERESOLVE
npm ERR! ERESOLVE could not resolve
npm ERR! 
npm ERR! While resolving: @react-native-firebase/[email protected]
npm ERR! Found: @react-native-firebase/[email protected]
npm ERR! node_modules/@react-native-firebase/app
npm ERR!   @react-native-firebase/app@"~15.4.0" from the root project
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! peer @react-native-firebase/app@"16.4.3" from @react-native-firebase/[email protected]
npm ERR! node_modules/@react-native-firebase/auth
npm ERR!   @react-native-firebase/auth@"^16.4.3" from the root project
npm ERR! 
npm ERR! Conflicting peer dependency: @react-native-firebase/[email protected]
npm ERR! node_modules/@react-native-firebase/app
npm ERR!   peer @react-native-firebase/app@"16.4.3" from @react-native-firebase/[email protected]
npm ERR!   node_modules/@react-native-firebase/auth
npm ERR!     @react-native-firebase/auth@"^16.4.3" from the root project
npm ERR! 
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR! 

Currently I have react-native 0.70.6

@Jonathan64340
Copy link

Hello, same issue

@salahuddina999
Copy link

any solution ???

@salahuddina999
Copy link

Currently I have react-native 0.71.1
same issue

@zizzle6717
Copy link

I'm not exactly sure what is causing this issue. You can use npm link to test different package.json dependency versions. If you find a solution, please make a PR and I can publish it.

@YoavSher
Copy link

What worked for me was to delete node_modules, update my react native dependency to 0.70.5, my react dependency to 18.1.0 and npm i.
Maybe the package has issues with some of the later version of react or react native

@alexnita20
Copy link

I used 1.3.4 version of this module and installed the latest version of "@react-native-picker/picker". This worked for me with react native 0.71.3.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants