Closed asalha closed 3 years ago
Use npm i react-native-country-picker-modal --legacy-peer-deps
and it should work. Worked for me.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Issue Description
npm ERR! code ERESOLVE npm ERR! ERESOLVE unable to resolve dependency tree npm ERR! npm ERR! Found: react-native-web@0.13.18 npm ERR! node_modules/react-native-web npm ERR! react-native-web@"~0.13.12" from the root project 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@"" from the root project npm ERR! npm ERR! Could not resolve dependency: npm ERR! peer react-native-web@"0.9.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@"*" 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.
Steps to Reproduce / Code Snippets
npm i react-native-country-picker-modal
Additional Information