react-gauge-chart icon indicating copy to clipboard operation
react-gauge-chart copied to clipboard

dependency issue with react 18

Open murtazav opened this issue 2 years ago • 6 comments

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

murtazav avatar Jun 25 '22 19:06 murtazav

same problem here

joao-dantas-yssy avatar Jun 27 '22 16:06 joao-dantas-yssy

Same here

benjaminchevoor avatar Jun 28 '22 02:06 benjaminchevoor

same here, any solution ?

ihab-haji avatar Jul 13 '22 07:07 ihab-haji

same here, any solution ?

i installed using "--legacy-peer-deps" flag, npm install react-gauge-chart --legacy-peer-deps

joao-dantas-yssy avatar Jul 13 '22 16:07 joao-dantas-yssy

I had the same issue and the above fix didn't work, just ended up downgrading react.

SchmitzAndrew avatar Aug 25 '22 04:08 SchmitzAndrew

I use npm install react-gauge-chart --legacy-peer-deps, but can't resolve the problem.

ecolip avatar Sep 23 '22 03:09 ecolip