galio-starter-kit icon indicating copy to clipboard operation
galio-starter-kit copied to clipboard

npm install: dependency version conflict for react-native-svg-charts

Open StephenLujan opened this issue 3 years ago • 6 comments

npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: @galio-org/[email protected]
npm ERR! Found: [email protected]
npm ERR! node_modules/react-native-svg
npm ERR!   react-native-svg@"^9.12.0" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer react-native-svg@"^6.2.1||^7.0.3" from [email protected]
npm ERR! node_modules/react-native-svg-charts
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.

Not sure why I'm the only one with an issue here. The latest version of react-native-svg-charts depends on a much older version of react-native-svg than is listed in the dependencies in package.json. I tried to run it after npm install --force but sure enough that had fatal errors related to react-native-svg

StephenLujan avatar Jan 31 '21 08:01 StephenLujan

Same for me

alexbauerde avatar Mar 20 '21 16:03 alexbauerde

same for me 2

diogocardoso28 avatar May 21 '21 22:05 diogocardoso28

same. I tried both --force, and --legacy-peer-deps to no avail.

MethodicalMadness avatar Sep 28 '21 10:09 MethodicalMadness

Same for me. Dependencies appears to be broken.

gabo-alv avatar Oct 20 '21 01:10 gabo-alv

Did anyone find a fix? Stuck at the same issue

Veer19 avatar Nov 13 '21 13:11 Veer19

Same for me. So after 2 years given there was no answer here we can assume this project is dead.

DigitalLeaves avatar Mar 22 '23 17:03 DigitalLeaves