create-react-app aborting – ESLINT not found

All we need is an easy explanation of the problem, so here it is.

Attempting to create a new app

npx create-react-app my-test-app

and getting this error in the console – unsurprisingly the esLint.tgz is 404ing in a browser. How do you get around this?

Running npm 8.13.2 and node 18.4.0

Can’t seem to find any similar solutions – tried clearing cache too. Any ideas?

npx create-react-app my-test-app

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/@types/eslint/-/eslint-8.4.4.tgz - Not found
npm ERR! 404
npm ERR! 404  '@types/[email protected]://registry.npmjs.org/@types/eslint/-/eslint-8.4.4.tgz' is not in this registry.
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:\Users\<user>\AppData\Local\npm-cache\_logs\2022-06-30T19_58_36_128Z-debug-0.log

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

How to solve :

I know you bored from this bug, So we are here to help you! Take a deep breath and look at the explanation of your problem. We have many solutions to this problem, But we recommend you to use the first method because it is tested & true method that will 100% work for you.

Method 1

Repository error @eslint, see Github: https://github.com/DefinitelyTyped/DefinitelyTyped/issues/61032

Method 2

Indeed, it’s not us. It’s them.
NPMJS Status

tarbells down

Note: Use and implement method 1 because this method fully tested our system.
Thank you 🙂

All methods was sourced from stackoverflow.com or stackexchange.com, is licensed under cc by-sa 2.5, cc by-sa 3.0 and cc by-sa 4.0

Leave a Reply