create-react-app: npm ERR! 404 Not Found - GET https://registry.npmjs.org/error-ex
Describe the bug
Below error comes when creating new project
C:\Personal\web-projects\React>npx create-react-app pomodoro-clock
npx: installed 99 in 16.973s
Creating a new React app in C:\Personal\web-projects\React\pomodoro-clock.
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/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.
When I try to go to https://registry.npmjs.org/error-ex
it returns a 404
Same issue when using command npm init react-app my-app
Did you try recovering your dependencies?
Yes
Environment
Environment Info:
current version of create-react-app: 3.3.1
running from C:\Users\username\AppData\Roaming\npm-cache\_npx\21236\node_modules\create-react-app
System:
OS: Windows 10 10.0.17763
CPU: (8) x64 Intel(R) Core(TM) i7-6820HQ CPU @ 2.70GHz
Binaries:
Node: 12.13.1 - C:\Program Files\nodejs\node.EXE
Yarn: Not Found
npm: 6.13.7 - C:\Program Files\nodejs\npm.CMD
Browsers:
Edge: 44.17763.831.0
Internet Explorer: 11.0.17763.771
npmPackages:
react: Not Found
react-dom: Not Found
react-scripts: Not Found
npmGlobalPackages:
create-react-app: Not Found
Steps to reproduce
- Create new project with
npx create-react-app project-name
. Last created a project successfully last week using the same PC
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Reactions: 38
- Comments: 213
At least the Raptors are doing well…
Hi all - I work at @npm and we’re very sorry about the
404
’s you are experiencing.We have identified the issue on our end and rolled out the fix. Unfortunately, its going take some time to propagate through all our nodes in our CDN layer.
You can follow along for progress via the incident on our status page
Also, you if you have other packages affected then please feel free to contact our support team directly.
to fix ng new app, I manually installed node-error-ex after ‘ng new app’ failed. cd app npm i https://github.com/Qix-/node-error-ex npm install
Still not working in Toronto/CA
Toronto checking in, still down.
They said it’s resolved. But still not working here in Toronto… 😦
Can we go home now?
Doesn’t this problem underscore the need for the community move away from depending on Node Package Manger Inc — a for profit company which does not have a long-term interest in sustainability of the Node community — for our development?
A service that is as critical as NPM should be run by a non-profit organization whose only mission is to provide the critical infrastructure. If a 501©3 were created for this it could easily raise enough money from donations to provide this to the community.
It is extremely troubling that we have built an ecosystem that is entirely dependent on a single point of failure like this.
Toronto still down (didn’t know here are so many Torontonians)
Not working in Toronto
Down in Canada!
Down in Mordor
here’s the solution… it’s…
Toronto/CA is still down @nomadtechie
Toronto is still down. We need Kawhi
Toronto, damn down.
Still down in Canada
omg i got it to work!
Teaching an Angular class when this has to happen 😦. Down in Ottawa, CA
Toronto is still down
Just I wanna say anyone who find that the issue has been fixed in his country please mention it
Still didn’t got it…(toronto)
@acskck not at all, it is down for France (Western Europe) as well…
Same issue, I’ve found a workaround that worked for me though, you could use the public npm registry mirrors:
Just run:
Or for
yarn
as @kuanyshjoinedlane mentioned.Edit: Issue status
Toronto = still_down
Toronto it is
Toronto here too… still 404 😦
https://status.npmjs.org/ shows it’s up. But still down for Toronto. 😦
Not working in Toronto too:)
https://status.npmjs.org/
in africa too “egypt”
Toronto 😢 still down.
London, Ontario Canada still down:/
Well, TBF, this is a problem in most languages (Python has Pypi, etc). There’s generally a central package manager that everyone uses and is dependent upon, so if it goes down, unhappiness happens.
Same for us, status page on npm says up, but we’re still seeing build failures (running in Montreal).
I used solution who consist to use vpn. After I do my command and he work’s fine
Same here in Canada npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142 npm ERR! code E404 npm ERR! 404 Not Found - GET https://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.
have alternative solution,
1.If project is new Crete “node_modules” folder 2.run npm i
error ex package is attached change the extension name in to .rar
The 404 error is fixed now. Hence closing the most commented issue in create-react-app 😄
Toronto is good now 👍
Ottawa down 👎
Waterloo down 👎
It’s already been mentioned, but the following works for me for node-error-ex:
How ?
Ozan needs to publish our build and we can’t 😦 ps. In Toronto as well
Still having issues in Toronto.
finally up in italy 👍
Fetching https://registry.npmjs.org/error-ex still returns a 404 error in Toronto
Try this may help
the whole world too
France too
down in north africa too
Using VPN pointing separate region might overcome this issue
Same issue. Checked on co-workers device as well. No change.
https://registry.npmjs.org/error-ex returns 404 error.
Turkey not working 😦
working in India
Sri Lanka is good now too. Are there anybody who is still experiencing the 404?
@Vincent2703
Or try GitHub link if that doesn’t work:
In my case if I use the the skimdb url, I still get this error :
npm ERR! 404 ‘error-stack-parser@^2.0.0’ is not in the npm registry.
They are working on this as a separate issue. https://status.npmjs.org/incidents/00tlqc4fzj14
why does it say it’s resolved when it’s clearly not : https://status.npmjs.org/incidents/lvgmcrfvrvsh
^^ I’ve just sent an email too.
I emailed their support address 25 mins ago, I’m sure I’m not the only one either. Hopefully they get this fixed soon.
still down in TO
Ottawa down as well…
Working in Waterloo Canada now.
Have a temporary workaround for those in Canada/North America and are desperate (like me):
@Mahmoudibrahim03 i’ll try your solution and i send you a feeback ASAP thx
In not working to Egypt 😦 so 1- installed https://protonvpn.com/ VPN 2- create my app 3- close VPN until getting any information about the reason and why blocking it
Yes, this works fine
creating new angular project also not working. i.e.
ng new my-app
is also not working at the moment.Yes, finally it’s working in Egypt today 😃
It’s working in Egypt now 👍 Thank you
Sri Lanka (South Asia) is good now. Thank you npm team
It works now in Egypt guys!
THIS WORKED
something new in france ?
Just use the official mirror for now, works for me and I’m in Toronto
https://skimdb.npmjs.com/registry/
Using VPN is a symptom of anxiety.
Poland , server PL226
Immigrants unite! Still down…
Got builds waiting on this to be fixed. VPN on local machine did the trick but these are very scary times indeed. (also – surprise – Toronto!)
You should monitor/post on @npmstatus on Twitter so that they know.
This here: https://status.npmjs.org/ says that the fix was in, and that we should wait, but we still can’t access https://registry.npmjs.org/error-ex in Ottawa Canada as of now
If you use the official npm registry mirror it will work
****** Mirror ****** => https://skimdb.npmjs.com/registry/
At least for me it does
Seems like the npm registry is having a bad day. For those looking for the status on this issue, it can be found here:
Main page: https://status.npmjs.org
Issue link: https://status.npmjs.org/incidents/lvgmcrfvrvsh
still not working in sri lanka
Still down in Tunisia??
The same thing is happening for the yarn registry. Works from Montreal, broken in Ottawa.
Same here from morocco :
npm ERR! code E404 npm ERR! 404 Not Found - GET https://registry.npmjs.org/error-stack-parser npm ERR! 404 npm ERR! 404 ‘error-stack-parser@^2.0.2’ 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 ‘friendly-errors-webpack-plugin’ npm ERR! 404 npm ERR! 404 Note that you can also install from a npm ERR! 404 tarball, folder, http url, or git url.
Down in Barcelona
try the vpn and connect from italy it will worck then just close it (https://protonvpn.com/)
@mouhannad-sh finally they have acknowledged there is an issue
Not working in South East Asia as well
NPM have acknowledged issues resolving some packages and nothing has changed for over 12 hours but their status page still says everything is fine 🤷♂️
Down in Spain
Down in Catalonia
down in Tunisia too
I use VPN to solve this issue.
used OpenVPN with Ubuntu https://www.vpnbook.com/howto/
@jcugmas I just tried accessing this inside a VM hosted in Sweden and it is working fine