Solucionado (ver solução)
Solucionado
(ver solução)
2
respostas

react-native init Instalura - -version 0.60.4

O que deve ter acontecido quando eu atribui essa comando pelo terminal: react-native init Instalura - -version 0.60.4 Done in 91.65s. info Adding required dev dependencies yarn add v1.22.5 [1/4] Resolving packages... info There appears to be trouble with your network connection. Retrying... info There appears to be trouble with your network connection. Retrying... info There appears to be trouble with your network connection. Retrying... info There appears to be trouble with your network connection. Retrying... info There appears to be trouble with your network connection. Retrying... info There appears to be trouble with your network connection. Retrying... info There appears to be trouble with your network connection. Retrying... info There appears to be trouble with your network connection. Retrying... info There appears to be trouble with your network connection. Retrying... info There appears to be trouble with your network connection. Retrying... info There appears to be trouble with your network connection. Retrying... error Couldn't find package "@typescript-eslint/experimental-utils@3.10.1" required by "@typescript-eslint/eslint-plugin@^3.1.0" on the "npm" registry. info Visit https://yarnpkg.com/en/docs/cli/add for documentation about this command. Error: Couldn't find package "@typescript-eslint/experimental-utils@3.10.1" required by "@typescript-eslint/parser@^3.1.0" on the "npm" registry. at MessageError.ExtendableBuiltin (C:\Program Files (x86)\Yarn\lib\cli.js:721:66) at new MessageError (C:\Program Files (x86)\Yarn\lib\cli.js:750:123) at PackageRequest. (C:\Program Files (x86)\Yarn\lib\cli.js:36539:17) at Generator.throw () at step (C:\Program Files (x86)\Yarn\lib\cli.js:310:30) at C:\Program Files (x86)\Yarn\lib\cli.js:323:13 at processTicksAndRejections (internal/process/task_queues.js:97:5) Error: Couldn't find package "@typescript-eslint/typescript-estree@3.10.1" required by "@typescript-eslint/parser@^3.1.0" on the "npm" registry. at MessageError.ExtendableBuiltin (C:\Program Files (x86)\Yarn\lib\cli.js:721:66) at new MessageError (C:\Program Files (x86)\Yarn\lib\cli.js:750:123) at PackageRequest. (C:\Program Files (x86)\Yarn\lib\cli.js:36539:17) at Generator.throw () at step (C:\Program Files (x86)\Yarn\lib\cli.js:310:30) at C:\Program Files (x86)\Yarn\lib\cli.js:323:13 at processTicksAndRejections (internal/process/task_queues.js:97:5) (node:4940) UnhandledPromiseRejectionWarning: Error: Command failed: yarn add -D @babel/core @babel/runtime @react-native-community/eslint-config eslint jest babel-jest metro-react-native-babel-preset react-test-renderer@16.13.1 at makeError (C:\Users\junio\Instalura\node_modules\execa\index.js:174:9) at C:\Users\junio\Instalura\node_modules\execa\index.js:278:16 at processTicksAndRejections (internal/process/task_queues.js:97:5) at async generateProject (C:\Users\junio\Instalura\node_modules@react-native-community\cli\build\commands\init\initCompat.js:128:3) at async Object.initCompat (C:\Users\junio\Instalura\node_modules@react-native-community\cli\build\commands\init\initCompat.js:105:3) (node:4940) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 2) (node:4940) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

2 respostas

Olá, tudo bem ?

Vi que sua dúvida foi aberta já tem um tempo :(

Será que conseguiu resolver ? :D

Se sim compartilha conosco como fez!

solução!

após inúmeras tentativas consegui na ultima vez, obrigado!!

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