galio-org / galio-starter-kit

Galio's starter kit is an app you can use to see what you can create with our library
https://galio.io
MIT License
181 stars 70 forks source link

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

Open StephenLujan opened 3 years ago

StephenLujan commented 3 years ago
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: @galio-org/galio@1.1.0
npm ERR! Found: react-native-svg@9.13.6
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 react-native-svg-charts@5.4.0
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

alexbauerde commented 3 years ago

Same for me

diogocardoso28 commented 3 years ago

same for me 2

MethodicalMadness commented 3 years ago

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

gabo-alv commented 2 years ago

Same for me. Dependencies appears to be broken.

Veer19 commented 2 years ago

Did anyone find a fix? Stuck at the same issue

DigitalLeaves commented 1 year ago

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