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

Unable to npm install #7

Open
vignesh-kira opened this issue Apr 11, 2024 · 1 comment
Open

Unable to npm install #7

vignesh-kira opened this issue Apr 11, 2024 · 1 comment

Comments

@vignesh-kira
Copy link

Unable to npm install, throws error

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@"^12.7.4" from the root project
npm ERR!   peer @react-native-firebase/app@"12.7.4" from @react-native-firebase/[email protected]
npm ERR!   node_modules/@react-native-firebase/auth
npm ERR!     @react-native-firebase/auth@"^12.7.4" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer @react-native-firebase/app@"12.9.3" from @react-native-firebase/[email protected]
npm ERR! node_modules/@react-native-firebase/firestore
npm ERR!   @react-native-firebase/firestore@"^12.9.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@"12.9.3" from @react-native-firebase/[email protected]
npm ERR!   node_modules/@react-native-firebase/firestore
npm ERR!     @react-native-firebase/firestore@"^12.9.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!
npm ERR!
npm ERR! For a full report see:
npm ERR! /Users/vigneshwaran.veeran/.npm/_logs/2024-04-11T20_26_35_979Z-eresolve-report.txt

npm ERR! A complete log of this run can be found in: /Users/vigneshwaran.veeran/.npm/_logs/2024-04-11T20_26_35_979Z-debug-0.log
@vignesh-kira
Copy link
Author

vignesh-kira commented Apr 11, 2024

meanwhile npm install --save --legacy-peer-deps this worked, pls update the readme

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

1 participant