Create-react-app: npx create-react-app aborting installation

Created on 6 Aug 2020  Â·  4Comments  Â·  Source: facebook/create-react-app

Describe the bug

hello there I am creating a new app in reactjs for hooks I tried using npx create-react-app hooksapp
I am getting below error ⤵
image

Did you try recovering your dependencies?

Environment

Environment Info:

current version of create-react-app: 3.4.0
running from C:\Users\krish\AppData\Roaming\npm\node_modules\create-react-app

System:
OS: Windows 10 10.0.18363
CPU: (8) x64 Intel(R) Core(TM) i5-8250U CPU @ 1.60GHz
Binaries:
Node: 12.14.1 - C:\Program Files\nodejs\node.EXE
Yarn: Not Found
npm: 6.14.7 - C:\Program Files\nodejs\npm.CMD
Browsers:
Edge: 44.18362.449.0
Internet Explorer: 11.0.18362.1
npmPackages:
react: Not Found
react-dom: Not Found
react-scripts: Not Found
npmGlobalPackages:
create-react-app: Not Found

(paste the output of the command here.)

Steps to reproduce

(Write your steps here:)

1.npx create-react-app hooks

Actual behavior

npx create-react-app painthook

Creating a new React app in C:\Users\krish\painthook.

Installing packages. This might take a couple of minutes.
Installing react, react-dom, and react-scripts with cra-template...

npm ERR! code E404
npm ERR! 404 Not Found - GET https://registry.npmjs.org/@typescript-eslint%2feslint-plugin - Not found
npm ERR! 404
npm ERR! 404 '@typescript-eslint/eslint-plugin@^2.10.0' is not in the npm registry.
npm ERR! 404 You should bug the author to publish it (or use the name yourself!)
npm ERR! 404 It was specified as a dependency of 'react-scripts'
npm ERR! 404
npm ERR! 404 Note that you can also install from a
npm ERR! 404 tarball, folder, http url, or git url.

npm ERR! A complete log of this run can be found in:
npm ERR! C:\tmp\nodejs\npm-cache_logs\2020-08-06T10_13_42_796Z-debug.log

Aborting installation.
npm install --save --save-exact --loglevel error react react-dom react-scripts cra-template has failed.

Deleting generated file... package.json
Deleting painthook/ from C:\Users\krish
Done.
image

Reproducible demo

  • image


bug report needs triage

All 4 comments

Hi @krishnadevz !!! There have been numerous reports here on the issue list. Please, avoid creating any more of these issues.
It's an npm issue
image
https://status.npmjs.org/

@krishnadevz this is an issue with NPM being down temporarily, not an issue with create-react-app, can this issue be closed?

solution for this following ⤵
Install Scoop package manager
and then install yarn and then do
yarn create-react-app myapp
100% work definitely

problem is related to the npm but above solution will work fine.👆

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Aranir picture Aranir  Â·  3Comments

Evan-GK picture Evan-GK  Â·  3Comments

JimmyLv picture JimmyLv  Â·  3Comments

barcher picture barcher  Â·  3Comments

DaveLindberg picture DaveLindberg  Â·  3Comments