Skip to content
This repository has been archived by the owner on Dec 6, 2023. It is now read-only.

Unable to install reactotron-react-native #782

Open
akunal1 opened this issue Apr 3, 2021 · 3 comments
Open

Unable to install reactotron-react-native #782

akunal1 opened this issue Apr 3, 2021 · 3 comments

Comments

@akunal1
Copy link

akunal1 commented Apr 3, 2021

Package.json :

 "@babel/preset-env": "^7.1.6",
    "apisauce": "^2.0.1",
    "formik": "^2.2.6",
    "lodash": "^4.17.21",
    "react": "^17.0.0",
    "react-native": "0.64.0",
    "react-native-offline": "^5.8.0",
    "react-redux": "^7.2.3",
    "redux": "^4.0.5",
    "redux-persist": "^6.0.0",
    "redux-saga": "^1.1.3",
    "regenerator-runtime": "^0.13.7",
    "yup": "^0.32.9"

command :
npm i -S reactotron-react-native

ERROR:

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@"^16.0.0" from the root project
npm ERR!   peer react@"^15.2.1 || 16.0.0-alpha.6 || 16.0.0-alpha.12 || 16.0.0-beta.5 || ^16.0.0" from [email protected]
npm ERR!   node_modules/reactotron-react-native
npm ERR!     reactotron-react-native@"*" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer react@"17.0.1" from [email protected]
npm ERR! node_modules/react-native
npm ERR!   react-native@"0.64.0" from the root project
npm ERR!   peer react-native@">=0.40.0" from [email protected]
npm ERR!   node_modules/reactotron-react-native
npm ERR!     reactotron-react-native@"*" 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.
@nicolas-meilan
Copy link

same here

@chengdongXue
Copy link

Hello, guy,
image

But when I use this command I can succeed downloaded this plugin
npm i --force reactotron-react-native

@YogiHa
Copy link

YogiHa commented Nov 1, 2021

Facing the same issue (seems to be from React version > 17)
. manage to install with -f and get this from audit fix

npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR! 
npm ERR! While resolving: ...
npm ERR! Found: [email protected]
npm ERR! node_modules/react
npm ERR!   react@"17.0.2" from the root project
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! peer react@"^15.2.1 || 16.0.0-alpha.6 || 16.0.0-alpha.12 || 16.0.0-beta.5 || ^16.0.0" from [email protected]
npm ERR! node_modules/reactotron-react-native
npm ERR!   dev reactotron-react-native@"5.0.0" from the root project

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants