xcarpentier / react-native-country-picker-modal

🇦🇶 Country picker provides a modal allowing a user to select a country from a list. It display a flag next to each country name.
https://reactnative.gallery/xcarpentier/country-picker
MIT License
1.07k stars 795 forks source link

Getting dependency issue while using this library. #523

Open Akash-260 opened 4 months ago

Akash-260 commented 4 months ago

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

ChamaraWP commented 4 months ago

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

yushanwebdev commented 4 months ago

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

ChamaraWP commented 4 months ago

@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 commented 3 months ago

@Akash-260 did you find any solution?

Punith-goud commented 1 month ago

+1