react-native-ecommerce icon indicating copy to clipboard operation
react-native-ecommerce copied to clipboard

Unable to npm install

Open vignesh-kira opened this issue 1 year ago • 1 comments

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 avatar Apr 11 '24 20:04 vignesh-kira

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

vignesh-kira avatar Apr 11 '24 20:04 vignesh-kira