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

react-native-svg: 13.0.0 conflicting 14.0.0 #104

Closed
bleedweedsuz opened this issue Dec 24, 2023 · 0 comments · Fixed by #105
Closed

react-native-svg: 13.0.0 conflicting 14.0.0 #104

bleedweedsuz opened this issue Dec 24, 2023 · 0 comments · Fixed by #105

Comments

@bleedweedsuz
Copy link

I got this error after installing autocomplete. I did solve the problem using using --legacy-peer-deps but if i need to install other libs this annoy alot when are u going to update react-native-svg to 14.x

npm ERR! code ERESOLVE
npm ERR! ERESOLVE could not resolve
npm ERR! 
npm ERR! While resolving: react-native-autocomplete-dropdown@3.1.0
npm ERR! Found: react-native-svg@14.0.0
npm ERR! node_modules/react-native-svg
npm ERR!   react-native-svg@"^14.0.0" from the root project
npm ERR!   peer react-native-svg@">=5.3" from react-native-feather@1.1.2
npm ERR!   node_modules/react-native-feather
npm ERR!     react-native-feather@"^1.1.2" from react-native-autocomplete-dropdown@3.1.0
npm ERR!     node_modules/react-native-autocomplete-dropdown
npm ERR!       react-native-autocomplete-dropdown@"^3.1.0" from the root project
npm ERR!   1 more (react-native-star-rating-widget)
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! peer react-native-svg@"^13.0.0" from react-native-autocomplete-dropdown@3.1.0
npm ERR! node_modules/react-native-autocomplete-dropdown
npm ERR!   react-native-autocomplete-dropdown@"^3.1.0" from the root project
npm ERR! 
npm ERR! Conflicting peer dependency: react-native-svg@13.14.0
npm ERR! node_modules/react-native-svg
npm ERR!   peer react-native-svg@"^13.0.0" from react-native-autocomplete-dropdown@3.1.0
npm ERR!   node_modules/react-native-autocomplete-dropdown
npm ERR!     react-native-autocomplete-dropdown@"^3.1.0" 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.
onmotion added a commit that referenced this issue Jan 1, 2024
onmotion added a commit that referenced this issue Jan 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant