reactotron
reactotron copied to clipboard
Current ver wont install on basically new React Native app
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?
same
- 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 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 I was trying to setup new reactotron on some project which already has old version of reactotron-react-native. So it worked for me.
could someone explain why do we need flipper dependency in reactotron package?