question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

npx create-react-app aborting installation

See original GitHub issue

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?

  • npm install -g npm@latest
  • npm install

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® Core™ 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

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:4
  • Comments:8

github_iconTop GitHub Comments

2reactions
superjosecommented, Aug 6, 2020

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/

1reaction
EmmanuelTheCodercommented, Dec 4, 2020

I have resolved it. It had to clean my cache. npm cache clean --force

Read more comments on GitHub >

github_iconTop Results From Across the Web

Create React App not installing, showing an error and ...
I had a same problem then i tried the below Command and it fixed my issue · Upgraded to latest yarn version: $...
Read more >
Create-react-app not working - The freeCodeCamp Forum
Hey freecodecamper's. I'm a little bit stuck. I'm learning react currently and I'm trying to complete the projects locally on my machine.
Read more >
aborting installation create react app - You.com | The AI ...
Mine then deletes node_modules and package.json. I have asked about this here: NPX create-react-app aborting installation after vulnerabilities found. I have ...
Read more >
Create React App not installing, showing an error and ...
[Solved]-Create React App not installing, showing an error and aborting installation-Reactjs · Remove node and npm sudo rm -rf /usr/local/lib/node_modules sudo ...
Read more >
I received this problem when I installed my react app - Sololearn
D:\>npx create-react-app abc npx: installed 67 in 4.255s Creating a new React app in D:\abc. Installing packages. ... Aborting installation.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found