Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature] Bump an react-native-svg peer dependency to the more recent #606

Open
JJoestar2 opened this issue Sep 13, 2023 · 2 comments
Open

Comments

@JJoestar2
Copy link

JJoestar2 commented Sep 13, 2023

Description of feature

Currently when you trying to install this lib and already have installed react-native-svg package in the project that higher than 7.0.3 version, you got this issue:
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-native-svg
npm ERR! react-native-svg@"^12.1.1" 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! react-native-svg-charts@"*" 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 \npm-cache\eresolve-report.txt for a full report.

use legacy of force flags it's kind of solution but it's could be a risky.

@kicaal
Copy link

kicaal commented Oct 15, 2023

PLEASE MERGE!

@UT-03
Copy link

UT-03 commented Oct 27, 2023

Please update peer dependencies.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants