create-react-app aborting - ESLINT not found [duplicate] - reactjs

This question already has answers here:
404 Not Found when trying to install ESLint 8.4.4 with create-react-app
(2 answers)
Closed 8 months ago.
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

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

Indeed, it's not us. It's them.
NPMJS Status
tarbells down

Related

Not able to setup react project using create-react-app

Below is the error I am getting after running the command
C:\Users\parde>npx create-react-app app
Creating a new React app in C:\Users\parde\app.
Installing packages. This might take a couple of minutes.
Installing react, react-dom, and react-scripts with cra-template...
npm ERR! code ERR_SSL_DECRYPTION_FAILED_OR_BAD_RECORD_MAC
npm ERR! errno ERR_SSL_DECRYPTION_FAILED_OR_BAD_RECORD_MAC
npm ERR! Invalid response body while trying to fetch https://registry.npmjs.org/#babel%2fcore: 10552:error:1408F119:SSL routines:ssl3_get_record:decryption failed or bad record mac:c:\ws\deps\openssl\openssl\ssl\record\ssl3_record.c:677:
npm ERR!
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\parde\AppData\Local\npm-cache\_logs\2022-09-09T13_12_40_326Z-debug-0.log
Aborting installation.
npm install --no-audit --save --save-exact --loglevel error react react-dom react-scripts cra-template has failed.
Deleting generated file... package.json
Deleting app/ from C:\Users\parde
Done.C:\Users\parde>npx create-react-app app
I tried:
Run npm cache clean --force
Then Run npx create-react-app (project name)
This seems to be a network-related error. Have a look at this thread.
Try any of the following:
use a VPN
allow NodeJs in the firewall
update your npm npm install --location=global
reinstall NodeJs
Theirs an issue related to it in the NPM repo
Seen to be something about the windows defender firewall
https://github.com/nodejs/help/issues/3815

Stop npm while work in React Project, How to solve this error shown in below?

When I'm working on a react project, suddenly the Web app crashed by showing the below error message. I have been looking for a solution to this error for a month.Thank you.
npm ERR!npm ERR! Failed at the frontend#0.1.0 start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\wthil\AppData\Roaming\npm-cache\_logs\2022-06-26T18_42_00_220Z-debug.log```
[1]: https://i.stack.imgur.com/6XwM0.png
Try:
Updating NPM
npm i -g npm#latest
Deleting the node_modules folder in your project
Reinstalling dependencies:
npm i

Error occurred when creating react application using vs code, How to solve this?

npm ERR! code E403
npm ERR! 403 403 Forbidden - GET https://registry.npmjs.org/react-scripts
npm ERR! 403 In most cases, you or one of your dependencies are requesting
npm ERR! 403 is a package version that is forbidden by your security policy.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\Alien\AppData\Roaming\npm-cache_logs\2022-05-21T11_17_48_470Z-debug.log
Aborting installation.
npm install --no-audit --save --save-exact --loglevel error react react-dom react-scripts cra-template has failed.
Deleting generated file... package.json
Deleting mern-excercise-tracker/ from C:\Users\Alien\Desktop\React\project
Done.
I think you are new to React so go through this and configure your application first
before https://www.freecodecamp.org/news/install-react-with-create-react-app/

While creating react app uisng npx i got following error . How can i resolve this

Creating a new React app in /home/rajesh/Desktop/practice3/hhh.
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 Object Not Found - GET https://skimdb.npmjs.com/registry/lodash.sortby/-/lodash.sortby-4.7.0.tgz - not_found
npm ERR! 404
npm ERR! 404 'lodash.sortby#https://skimdb.npmjs.com/registry/lodash.sortby/-/lodash.sortby-4.7.0.tgz' is not in this registry.
npm ERR! 404 You should bug the author to publish it (or use the name yourself!)
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! /home/rajesh/.npm/_logs/2022-01-22T11_39_41_761Z-debug-0.log
Aborting installation.
npm install --no-audit --save --save-exact --loglevel error react react-dom react-scripts cra-template has failed.
Deleting generated file... package.json
Deleting hhh/ from /home/rajesh/Desktop/practice3
Done.
. it did't created any folder or files.

Error 404 when trying to create a new React app

I get this error while trying to create a new React app. Installing other components works fine.
Tried all the other posts on StackOverflow. Changed the connection too. Still doesn't work.
Thanks :)
C:\Users\ASUS\Desktop\reactproject1>npx create-react-app myapp
Creating a new React app in C:\Users\ASUS\Desktop\reactproject1\myapp.
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 http://registry.npmjs.org/error-ex
npm ERR! 404
npm ERR! 404 'error-ex#^1.3.1' 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 'parse-json'
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\ASUS\AppData\Roaming\npm-cache\_logs\2020-02-12T07_33_08_955Z-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 myapp/ from C:\Users\ASUS\Desktop\reactproject1
Done.
https://registry.npmjs.org/error-ex is down in South Asian region for some reason, which is the cause of the issue.
If you have a VPN connection, Try connecting to US region. Or wait till it gets back online. :)

Resources