Ainda não tem acesso? Estude com a gente! Matricule-se
Ainda não tem acesso? Estude com a gente! Matricule-se
1
resposta

Erro ao instalar o --save-dev reactotron-react-native

Erro:PS C:\Users\josev\Desktop\Jose Vitor\Application\FireFocus\firefocus> npm install --save-dev reactotron-react-native npm ERR! code ERESOLVE npm ERR! ERESOLVE unable to resolve dependency tree npm ERR! npm ERR! Found: react-native@0.63.2 npm ERR! node_modules/react-native npm ERR! peer react-native@">=0.62.0-rc.0 <0.64.0" from @react-native-community/cli@4.14.0 npm ERR! nodemodules/@react-native-community/cli npm ERR! @react-native-community/cli@"^4.14.0" from react-native@0.63.2 npm ERR! peer react-native@"*" from @react-navigation/bottom-tabs@6.0.0 npm ERR! nodemodules/@react-navigation/bottom-tabs npm ERR! @react-navigation/bottom-tabs@"^6.0.0" from the root project npm ERR! 7 more (@react-navigation/elements, ...) npm ERR! npm ERR! Could not resolve dependency: npm ERR! peer react-native@"^0.62.0" from react-native-flipper@0.34.0 npm ERR! node_modules/reactotron-react-native/node_modules/react-native-flipper npm ERR! optional react-native-flipper@"^0.34.0" from reactotron-react-native@5.0.0 npm ERR! node_modules/reactotron-react-native npm ERR! dev 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. npm ERR! npm ERR! See C:\Users\josev\AppData\Local\npm-cache\eresolve-report.txt for a full report.

npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\josev\AppData\Local\npm-cache_logs\2021-08-03T11_30_18_227Z-debug.log

Insira aqui a descrição dessa imagem para ajudar na acessibilidade

1 resposta

Olá Jose, tudo bem?

Tenta instalar o reactotron com um desses comadandos aqui:

npm install --save-dev reactotron-react-native --force

ou

npm install --save-dev reactotron-react-native --legacy-peer-deps

Um desses dois comandos deve resolver seu problema! Espero ter ajudado.

Bons estudos!

Quer mergulhar em tecnologia e aprendizagem?

Receba a newsletter que o nosso CEO escreve pessoalmente, com insights do mercado de trabalho, ciência e desenvolvimento de software