Getting dependency issue while using this library.
Opened this issue · 6 comments
Issue Description
npm ERR! Could not resolve dependency:
npm ERR! peer react@"^16.13.1" from react-art@16.13.1
npm ERR! node_modules/react-art
npm ERR! peer react-art@"16.x.x" from modal-react-native-web@0.2.0
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 react-native-country-picker-modal@2.0.0
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 react-native-web@0.9.13
npm ERR! node_modules/react-native-web
npm ERR! peer react-native-web@"*" from react-native-country-picker-modal@2.0.0
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"
Having the same issue seems like they are no longer maintaining this
@Akash-260 @ChamaraWP, you can start using this one if you like
https://github.com/yushanwebdev/react-native-country-picker-modal
@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
@Akash-260 did you find any solution?
+1
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: PushInstaller@0.0.1
npm ERR! Found: react@18.2.0
npm ERR! node_modules/react
npm ERR! react@"18.2.0" from the root project
npm ERR! peer react@"*" from react-native-country-picker-modal@2.0.0
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 react-dom@18.3.1
npm ERR! node_modules/react-dom
npm ERR! peer react-dom@"*" from react-native-country-picker-modal@2.0.0
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!