rnschedule icon indicating copy to clipboard operation
rnschedule copied to clipboard

dependency issues with newer react-native version

Open KumarDedhia opened this issue 3 years ago • 2 comments

Is there a way to upgrade the version and build at my end as an dependency in my project? Please suggest. Possible to

npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR! 
npm ERR! While resolving: undefined@undefined
npm ERR! Found: [email protected]
npm ERR! node_modules/react-native
npm ERR!   react-native@"https://github.com/expo/react-native/archive/sdk-40.0.1.tar.gz" from the root project
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! peer react-native@"^0.57.1" from [email protected]
npm ERR! node_modules/rnschedule
npm ERR!   rnschedule@"*" 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 /home/kumar/.npm/eresolve-report.txt for a full report.

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/kumar/.npm/_logs/2021-04-02T18_15_21_964Z-debug.log

KumarDedhia avatar Apr 02 '21 19:04 KumarDedhia

Did you got any way around ?

talha882 avatar Oct 26 '21 10:10 talha882

npm i --force and --legacy-peer-deps work for me, you can also download the source code into your project (and install all the dependencies) but the license is not specified so i dont know if that is alowed

PMVPYW avatar May 19 '24 11:05 PMVPYW