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

Getting dependency issue while using this library. #523

Open
Akash-260 opened this issue Apr 23, 2024 · 6 comments
Open

Getting dependency issue while using this library. #523

Akash-260 opened this issue Apr 23, 2024 · 6 comments

Comments

@Akash-260
Copy link

Akash-260 commented Apr 23, 2024

Issue Description

npm ERR! Could not resolve dependency:
npm ERR! peer react@"^16.13.1" from [email protected]
npm ERR! node_modules/react-art
npm ERR! peer react-art@"16.x.x" from [email protected]
npm ERR! node_modules/react-native-country-picker-modal/node_modules/modal-react-native-web
npm ERR! modal-react-native-web@"0.2.0" from [email protected]
npm ERR! node_modules/react-native-country-picker-modal
npm ERR! react-native-country-picker-modal@"^2.0.0" from the root project
npm ERR! peer react-art@">=16.5.1" from [email protected]
npm ERR! node_modules/react-native-web
npm ERR! peer react-native-web@"*" from [email protected]
npm ERR! node_modules/react-native-country-picker-modal
npm ERR! react-native-country-picker-modal@"^2.0.0" from the root project
npm ERR! 1 more (modal-react-native-web)
npm ERR!

I want to know to use this library we want which version of React. To resolve the conflict problem.

[FILL THIS OUT]

Additional Information

  • Nodejs version: v20.11.1
  • React version: "^18.2.0"
  • React Native version: "^0.73.6"
  • react-native-country-picker-modal version: "^2.0.0"
  • Platform(s) (iOS, Android, web, or all?): Android
  • TypeScript version: "5.0.4"
@ChamaraWP
Copy link

Having the same issue seems like they are no longer maintaining this

@yushanwebdev
Copy link

@ChamaraWP
Copy link

@Akash-260 @ChamaraWP, you can start using this one if you like https://github.com/yushanwebdev/react-native-country-picker-modal

Thanks, I will give it a try

@Muzamil63
Copy link

@Akash-260 did you find any solution?

@Punith-goud
Copy link

+1

@josephattechjays
Copy link

yes same issue, are there any patches?

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!   peer react@"*" from [email protected]
npm ERR!   node_modules/react-native-country-picker-modal
npm ERR!     react-native-country-picker-modal@"*" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer react@"^18.3.1" from [email protected]
npm ERR! node_modules/react-dom
npm ERR!   peer react-dom@"*" from [email protected]
npm ERR!   node_modules/react-native-country-picker-modal
npm ERR!     react-native-country-picker-modal@"*" 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!

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

No branches or pull requests

6 participants