Relative Content

Tag Archive for node.jsreact-nativenpmexponpm-install

npm error while trying to run npm install in react native development environment

I am creating an app using react native with a friend, I’m using expo as well as npm, after I pulled from his github repo last time and I tried to run npm install I got this error
npm ERR! code ERESOLVE npm ERR! ERESOLVE unable to resolve dependency tree npm ERR! npm ERR! While resolving: [email protected] npm ERR! Found: [email protected] npm ERR! node_modules/expo npm ERR! expo@"^51.0.6" from the root project npm ERR! npm ERR! Could not resolve dependency: npm ERR! peer expo@"^49.0.7 || ^50.0.0-0" from @expo/[email protected] npm ERR! node_modules/@expo/webpack-config npm ERR! @expo/webpack-config@"^19.0.1" 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! C:UsersmrdarkAppDataLocalnpm-cache_logs2024-05-17T18_26_41_483Z-eresolve-report.txt