react-gauge-chart
react-gauge-chart copied to clipboard
dependency issue with react 18
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/react npm ERR! react@"18.2.0" from the root project npm ERR! npm ERR! Could not resolve dependency: npm ERR! peer react@"^16.8.2 || ^17.0" from [email protected] npm ERR! node_modules/react-gauge-chart npm ERR! react-gauge-chart@"*" 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/xyz/.npm/eresolve-report.txt for a full report.
npm ERR! A complete log of this run can be found in: npm ERR! /Users/xyz/.npm/_logs/2022-06-25T18_58_01_668Z-debug-0.log
same problem here
Same here
same here, any solution ?
same here, any solution ?
i installed using "--legacy-peer-deps" flag,
npm install react-gauge-chart --legacy-peer-deps
I had the same issue and the above fix didn't work, just ended up downgrading react.
I use npm install react-gauge-chart --legacy-peer-deps, but can't resolve the problem.