network-international / react-native-ngenius

Other
5 stars 8 forks source link

Dependency resolution issue with React Native version 0.68.2 #38

Open mrinmoysh opened 1 year ago

mrinmoysh commented 1 year ago

The error occurs during the installation of @network-international/react-native-ngenius in a React Native 0.68 version project. It's due to a version conflict between the React dependency required by the root project (version 17.0.2) and the expected peer dependency by @network-international/react-native-ngenius (requires "^16.8.1"). This conflict prevents npm from resolving the dependency tree, resulting in the npm ERR! code ERESOLVE error.

npm ERR! code ERESOLVE npm ERR! ERESOLVE unable to resolve dependency tree npm ERR! npm ERR! While resolving: EduCloud@0.0.1 npm ERR! Found: react@17.0.2 npm ERR! node_modules/react npm ERR! react@"17.0.2" from the root project npm ERR! npm ERR! Could not resolve dependency: npm ERR! peer react@"^16.8.1" from @network-international/react-native-ngenius@2.0.4 npm ERR! node_modules/@network-international/react-native-ngenius npm ERR! @network-international/react-native-ngenius@"*" from the root project npm ERR!