Tento executar o comando, conforme solicitado pelo professor, mas demora bastante e no fim dá erro:
$ create-react-app cdc-admin
Creating a new React app in /home/giulianabezerra/Alura/React/cdc-admin.
Installing packages. This might take a couple of minutes.
Installing react, react-dom, and react-scripts...
npm ERR! cb() never called!
npm ERR! This is an error with npm itself. Please report this error at:
npm ERR! <https://npm.community>
npm ERR! A complete log of this run can be found in:
npm ERR! /home/giulianabezerra/.npm/_logs/2019-02-05T15_19_57_568Z-debug.log
Aborting installation.
npm install --save --save-exact --loglevel error react react-dom react-scripts has failed.
Deleting generated file... package.json
Deleting cdc-admin/ from /home/giulianabezerra/Alura/React
Done.
Como resolvo esse problema? Procurei na internet mas até agora não tive sucesso.
OBS:
- Ubuntu 18
- npm 6.5.0
- Node v11.8.0
- Uso proxy coorporativo configurado no npm, tanto é que consegui instalar o create-react-app.