Ao executar npx create-react-app my-app
meu terminal não é concluído e ao final é criado a pasta dessa maneira:
└─ my-app
├─ node_modules
├─ package.json
└─ yarn.lock
Já tentei npm uninstall -g create-react-app
e depois novamente o npx create-react-app my-app
mas não funcionou. Também já apaguei a pasta com esses arquivos várias vezes. Como posso fazer para dar certo?
Mensagem do terminal:
yarn add v1.22.5
[1/4] Resolving packages...
**warning** react-scripts > [email protected]: babel-eslint is now @babel/eslint-parser. This package will no longer receive updates.
**warning** react-scripts > workbox-webpack-plugin > workbox-build > @hapi/[email protected]: Switch to 'npm install joi'
**warning** react-scripts > workbox-webpack-plugin > workbox-build > [email protected]: This package has been deprecated and is no longer maintained. Please use @rollup/plugin-babel.
**warning** react-scripts > jest > @jest/core > jest-config > jest-environment-jsdom > jsdom > [email protected]: request-promise-native
has been deprecated because it extends the now deprecated request package, see https://github.com/request/request/issues/3142
**warning** react-scripts > jest > @jest/core > jest-config > jest-environment-jsdom > jsdom > [email protected]: request has been deprecated, see https://github.com/request/request/issues/3142
[2/4] Fetching packages...
**info** [email protected]: The platform "win32" is incompatible with this module.
**info** "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
**info** [email protected]: The platform "win32" is incompatible with this module.
**info** "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
[3/4] Linking dependencies...
**warning** "react-scripts > @typescript-eslint/eslint-plugin > [email protected]" has unmet peer dependency "typescript@>=2.8.0 || >= 3.2.0-dev || >=
3.3.0-dev || >= 3.4.0-dev || >= 3.5.0-dev || >= 3.6.0-dev || >= 3.6.0-beta || >= 3.7.0-dev || >= 3.7.0-beta".
[4/4] Building fresh packages...
success Saved lockfile.
success Saved 331 new dependencies.
info Direct dependencies
├─ [email protected]
├─ [email protected]
├─ [email protected]
└─ [email protected]
info All dependencies
└─ (várias dependências aqui)
Done in 509.92s.