create-react-app: Error:
`┌─[sambhrama@parrot]─[~] └──╼ $npx create-react-app basaveshwar_hardwares npm WARN registry Unexpected warning for https://registry.npmjs.org/: Miscellaneous Warning EHOSTUNREACH: request to https://registry.npmjs.org/create-react-app failed, reason: connect EHOSTUNREACH 104.16.26.35:443 npm WARN registry Using stale data from https://registry.npmjs.org/ due to a request error during revalidation.
Creating a new React app in /home/sambhrama/basaveshwar_hardwares.
Installing packages. This might take a couple of minutes. Installing react, react-dom, and react-scripts with cra-template…
^A[ …] | idealTree:type-fest: sill fetch manifest type-fest@^0.6[ …] / idealTree:snapdragon-util: sill npm ERR! code ERR_SOCKET_TIMEOUT npm ERR! errno ERR_SOCKET_TIMEOUT npm ERR! request to https://registry.npmjs.org/coa/-/coa-2.0.2.tgz failed, reason: Socket timeout
npm ERR! A complete log of this run can be found in: npm ERR! /home/sambhrama/.npm/_logs/2020-12-16T07_20_06_826Z-debug.log
Aborting installation. npm install --save --save-exact --loglevel error react react-dom react-scripts cra-template has failed.
Deleting generated file… node_modules Deleting generated file… package.json Deleting basaveshwar_hardwares/ from /home/sambhrama Done. npm ERR! code 1 npm ERR! path /home/sambhrama npm ERR! command failed npm ERR! command sh -c create-react-app basaveshwar_hardwares
npm ERR! A complete log of this run can be found in: npm ERR! /home/sambhrama/.npm/_logs/2020-12-16T07_20_12_208Z-debug.log ┌─[✗]─[sambhrama@parrot]─[~] └──╼ $ `
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Reactions: 2
- Comments: 16
I have similar problem
with:
EDITED:
Today i added
timeout=60000
to.npmrc
file and after run:create-react-app jsx
all work just finegot it! thank you 😊
On Thu, 27 Jan 2022, 13:09 mka142, @.***> wrote:
K