He estado tratando de ejecutar React en mi sistema local usando el terminal Hyper. Escribí el código: npx create-react-app my-apps
, sigue marcando estos errores a continuación:
npm ERR! code ETIMEDOUT npm ERR! syscall connect npm ERR! errno ETIMEDOUT npm ERR! network request to http://registry.npmjs.org/@svgr%2fplugin-svgo failed, reason: connect ETIMEDOUT 104.16.26.35:80 npm ERR! network This is a problem related to network connectivity. npm ERR! network In most cases you are behind a proxy or have bad network settings. npm ERR! network npm ERR! network If you are behind a proxy, please make sure that the npm ERR! network 'proxy' config is set properly. See: 'npm help config' npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\Edmund Obinna\AppData\Local\npm-cache\_logs\2022-02-21T12_17_44_191Z-debug-0.log Aborting installation. npm install --no-audit --save --save-exact --loglevel error react react-dom react-scripts cra-template has failed. Deleting generated file... package.json Deleting my-apps/ from C:\Users\Edmund Obinna Done."
probar :
npm config rm proxy
después:
npm config rm https-proxy