create-react-app aborting - ESLINT not found

Viewed 827

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/eslint@https://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
2 Answers
Related