1
resposta

Preparando ambiente em Linux Debian

AO RODAR COMANDOS COMO ADMIN NO TERMINAL

npm install -g React-native-cli

ESTOU RECEBENDO

npm ERR! code E404
npm ERR! 404 Not Found - GET https://github.com/npm/npm-registry-couchapp/React-native-cli - Not Found
npm ERR! 404 
npm ERR! 404  'React-native-cli@latest' is not in the npm registry.
npm ERR! 404 Your package name is not valid, because 
npm ERR! 404  1. name can no longer contain capital letters
npm ERR! 404 
npm ERR! 404 Note that you can also install from a
npm ERR! 404 tarball, folder, http url, or git url.

npm ERR! A complete log of this run can be found in:
npm ERR!     /root/.npm/_logs/2020-11-26T21_10_52_979Z-debug.log

Já tentei encontrar a solução em alguns fóruns, mas me parece que é algo externo, registro de servidor, alguém tem alguma ideia?

1 resposta

Paulo, é react com 'r' minúsculo:

npm install -g react-native-cli

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