Unable to install the package on RN 39.0.4
seanconrad1 opened this issue · 2 comments
seanconrad1 commented
Running into this error instantly when running npm install react-native-user-inactivity
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: undefined@undefined
npm ERR! Found: react-native@0.63.2
npm ERR! node_modules/react-native
npm ERR! react-native@"https://github.com/expo/react-native/archive/sdk-39.0.4.tar.gz" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer react-native@"^0.61.3" from react-native-user-inactivity@1.1.0
npm ERR! node_modules/react-native-user-inactivity
npm ERR! react-native-user-inactivity@"*" 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! See /Users/myusername/.npm/eresolve-report.txt for a full report.
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/myusername/.npm/_logs/2020-11-26T02_00_43_440Z-debug.log
seanconrad1 commented
Looks like it works when running with --legacy-peer-deps
Akash7045 commented
Looks like it works when running with
--legacy-peer-deps
Is there any side effect of using this command to download node module ?
eg. it may effect other library or not ?