react-native-country-picker-modal icon indicating copy to clipboard operation
react-native-country-picker-modal copied to clipboard

Package dependency error

Open tragicmj opened this issue 3 years ago • 2 comments

Issue Description

Unable to install the package 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@"17.0.2" 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.2.0" 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! See /Users/mdjavedakhtar/.npm/eresolve-report.txt for a full report.

npm ERR! A complete log of this run can be found in: npm ERR! /Users/mdjavedakhtar/.npm/_logs/2022-07-08T07_44_25_473Z-debug-0.log mdjavedakhtar@Mds-MacBook-Pro mobile-application % npm i react-native-country-picker-modal 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@"17.0.2" 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.2.0" 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! See /Users/mdjavedakhtar/.npm/eresolve-report.txt for a full report.

npm ERR! A complete log of this run can be found in: npm ERR! /Users/mdjavedakhtar/.npm/_logs/2022-07-08T07_47_15_880Z-debug-0.log

Steps to Reproduce / Code Snippets

Try installing it on "react-native": "0.66.1"

Expected Results

Package Should install

Additional Information

  • Nodejs version: 16.14.0
  • React version: 17.0.2
  • React Native version: 0.66.1
  • react-native-country-picker-modal version: 2.0.0
  • Platform(s) (iOS, Android, web, or all?): iOS & Android
  • TypeScript version: Not Using

tragicmj avatar Jul 08 '22 07:07 tragicmj

same issue here can you update dependencies @xcarpentier

MinaSamir11 avatar Nov 08 '22 09:11 MinaSamir11

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

yushanwebdev avatar Apr 15 '24 17:04 yushanwebdev