reactotron icon indicating copy to clipboard operation
reactotron copied to clipboard

Current ver wont install on basically new React Native app

Open russmenum opened this issue 3 years ago • 5 comments

I have an all but new create-react-native-app project

when I try npm i --save-dev reactotron-react-native I get

npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR! 
npm ERR! Found: [email protected]
npm ERR! node_modules/react-native
npm ERR!   peer react-native@">=0.62.0-rc.0 <0.64.0" from @react-native-community/[email protected]
npm ERR!   node_modules/@react-native-community/cli
npm ERR!     @react-native-community/cli@"^4.10.0" from [email protected]
npm ERR!   peer react-native@">=0.47.0" from [email protected]
npm ERR!   node_modules/react-native-background-actions
npm ERR!     react-native-background-actions@"^2.6.2" from the root project
npm ERR!   6 more (react-native-get-location, react-native-reanimated, ...)
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! peer react-native@"^0.62.0" from [email protected]
npm ERR! node_modules/reactotron-react-native/node_modules/react-native-flipper
npm ERR!   optional react-native-flipper@"^0.34.0" from [email protected]
npm ERR!   node_modules/reactotron-react-native
npm ERR!     dev reactotron-react-native@"*" from the root project

but, Found: [email protected] is in the peer react-native@">=0.62.0-rc.0 <0.64.0" and complient with react-native@"^0.62.0" so not seeing what it is not happy about?

russmenum avatar Jul 22 '21 13:07 russmenum

same

digitlninja avatar Aug 18 '21 12:08 digitlninja

  1. react-native unlink reactotron-react-native 2)npm unlink reactotron-react-native 3)npm uninstall --save reactotron-react-native 4)npm i --save-dev reactotron-react-native

try these steps.

Abfareye avatar Aug 18 '21 13:08 Abfareye

@Abfareye given that these are happaning on new app fresh installs how would

react-native unlink reactotron-react-native
2)npm unlink reactotron-react-native
3)npm uninstall --save reactotron-react-native

help? There is nothing to unlink, because you can not actually ever install

russmenum avatar Aug 19 '21 13:08 russmenum

@russmenum I was trying to setup new reactotron on some project which already has old version of reactotron-react-native. So it worked for me.

Abfareye avatar Aug 20 '21 04:08 Abfareye

could someone explain why do we need flipper dependency in reactotron package?

Arkan4ik avatar Mar 30 '22 08:03 Arkan4ik