Create-react-app: npm ERR! 404 Not Found - GET https://registry.npmjs.org/error-ex

Created on 12 Feb 2020  ·  213Comments  ·  Source: facebook/create-react-app

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

  1. Create new project with npx create-react-app project-name. Last created a project successfully last week using the same PC
bug report needs triage

Most helpful comment

At least the Raptors are doing well...

All 213 comments

same error here!

I think something went wrong with npm registry server.

Same issue. Checked on co-workers device as well. No change.

https://registry.npmjs.org/error-ex returns 404 error.

The same issue occurred here as well.

Following. Facing the same issue here

same issue , is npmjs.org knows this issue..?
Capture

Still, have this error? Does anyone fix it?

Using VPN pointing separate region might overcome this issue

same issue here, cannot create new project or install dependencies in old project. Did anybody fix it?

creating new angular project also not working. i.e. ng new my-app is also not working at the moment.

Looks like https://registry.npmjs.org/error-ex is down only for South Asian region

@acskck not at all, it is down for France (Western Europe) as well...

@jcugmas I just tried accessing this inside a VM hosted in Sweden and it is working fine

@acskck thanks for the trick, I'm gonna try.

down in north africa too

in africa too "egypt"

France too

Screenshot from 2020-02-12 11-03-46
Same Error here

image

Same with an other library, seems npm registry is collapsing :x

Globule@Globule-PC MINGW64 /h/dev/code/peaks/beeobs-react-native (666-test-ci)
$ npm i errorhandler
npm ERR! code E404
npm ERR! 404 Not Found - GET https://registry.npmjs.org/errorhandler
npm ERR! 404
npm ERR! 404  'errorhandler@latest' 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
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\Globule\AppData\Roaming\npm-cache\_logs\2020-02-12T10_18_11_452Z-debug.log


This works if you try to access from US region via a VPN connection.

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

down in italy :(

@julienlesbegueriesimtalbi doesn't work

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

Yes, this works fine

I use VPN to solve this issue.

used OpenVPN with Ubuntu
https://www.vpnbook.com/howto/

have alternative solution,

1.If project is new Crete "node_modules" folder
2.run npm i

error-ex

error ex package is attached change the extension name in to .rar

the whole world too

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.

In Sri Lanka same problem

down in Tunisia too

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.

In Sri Lanka same problem

alternative solution is mentioned above

Down in India and US

Down in Africa "Egypt"
i tried to npm install many times and removing npm and node and try again , and nothing changed

Down in Spain.

down in Tunisia too

means that i'm not responsible for the issue and that I did not make an installation mistake ? and what should I do because i've been facing this prob since last night

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

means that i'm not responsible for the issue and that I did not make an installation mistake ? and what should I do because i've been facing this prob since last night

Not your fault, try access https://registry.npmjs.org/errorhandler or https://registry.npmjs.org/error-ex in your browser. It seems library is not available anymore.

coincidence or not both libraries name contains "error" world and I know that NPM has made a fix about library begining with a digit too (but still doesn't work)

It's maybe related to https://github.com/yarnpkg/yarn/issues/7902 but who knows ...

Thanks

Facing the same issue here

Facing the same issue.

Down in Catalonia

Down in Spain

NPM have acknowledged issues resolving some packages and nothing has changed for over 12 hours but their status page still says everything is fine 🤷‍♂️

Yes the same issue in France

Down in Egypt

Not working in Egypt :(

Not working in South East Asia as well

@mouhannad-sh finally they have acknowledged there is an issue

at least !

still down in KSA

image

Down in Mordor

Down in Egypt

Down in Morocco!

Down in Malaysia!

Down in Spain!

Down in Canada!

just let us know when it's back

Down in india.

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.

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

it work with vpn but if i have a production what i will do ? it cache the npm but if i add new package it fail at error-ex that not found ?

Down in Tunisia

Down in Tunisia
i have many jenkins jobs tring to install build some angular project :-1:

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

it work with vpn but if i have a production what i will do ? it cache the npm but if i add new package it fail at error-ex that not found ?

It's not final solution it's just until package developers team solve this problem

Down in Morocco

@Mahmoudibrahim03 i'll try your solution and i send you a feeback ASAP
thx

Same here in Canada
npm WARN deprecated [email protected]: 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.

try the vpn and connect from italy it will worck then just close it (https://protonvpn.com/)

it's just worked for me using VPN connected to france.

I got the same error in Egypt now
npm ERR! 404 Not Found - GET https://registry.npmjs.org/error-ex

Still down in Canada

try the vpn and connect from italy it will worck then just close it (https://protonvpn.com/)

it's work , thank you @haniDjebbi

Down in Barcelona

not working with angular , down in tunisia

Seems like not fixed yet however

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.

Still down!

Still Down in north Africa "Egypt"

From

https://docs.npmjs.com/using-npm/registry.html

The npm public registry is powered by a CouchDB database, of which there is a public mirror at https://skimdb.npmjs.com/registry. The code for the couchapp is available at https://github.com/npm/npm-registry-couchapp.

https://skimdb.npmjs.com/registry/error-ex

shows results

Not sure how to change npm's settings to use it tho

Down in Tunisia

Still not working in Toronto/CA

try the vpn and connect from italy it will worck then just close it (https://protonvpn.com/)

This solution works thanks

Having a similar issue with Ember-CLI that led me here. We're having an issue with the error package. This feels like an NPM issue related to some kind of configuration that's blockholing all requests that have the word "error" in them.

Having a similar issue with Ember-CLI that led me here. We're having an issue with the error package. This feels like an NPM issue related to some kind of configuration that's blockholing all requests that have the word "error" in them.

You just confirmed my intuition here ;-)

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 Tunisia too 😕

Toronto/CA is still down @nomadtechie

Teaching an Angular class when this has to happen :(. Down in Ottawa, CA

Teaching an Angular class when this has to happen :(. Down in Ottawa, CA

Apparently using a vpn and connecting out of US is helping some.

Have a temporary workaround for those in Canada/North America and are desperate (like me):

  1. Install a VPN (I used ProtonVPN)
  2. Connect to a European server (I used Austria)
  3. ...
  4. Profit?

@connected-mgupta this is easier:
npm i https://github.com/Qix-/node-error-ex

The same thing is happening for the yarn registry. Works from Montreal, broken in Ottawa.

not working in dar es salaam too.

I temporarily added this in my package.json.

"error-ex": "git+https://github.com/Qix-/node-error-ex.git#1.3.2",

Still down in Tunisia??

Have a temporary workaround for those in Canada/North America and are desperate (like me):

  1. Install a VPN (I used ProtonVPN)
  2. Connect to a European server (I used Austria)
  3. ...
  4. Profit?

Okay good , but this is not the best solution

VPN'd to a connection/server in France and was able to install

image

In my local machine is running fine Mississauga/ON, Canada. But when it goes to cloud machine is getting this error:

10:17:02 npm ERR! code E404
10:17:05 npm ERR! 404 Not Found: error@^7.0.0
10:17:05
10:17:05 npm ERR! A complete log of this run can be found in:
10:17:05 npm ERR! /path_to_logs/.npm/_logs/2020-02-12T15_16_59_904Z-debug.log
10:17:05 The command '/bin/sh -c npm install' returned a non-zero code: 1

Still down in Tunisia??

yes :( still down in Tunisia

Still seeing errors here in Bahia.
image

Try this may help

npm install https://github.com/Qix-/node-error-ex
npm install

error-ex

image

Running the following, as suggested by others, got me on the way:

npm install https://github.com/Qix-/node-error-ex

Still not working, down in Sri Lanka.

have the same problem :\

Working in Waterloo Canada now.

Same here in Barcelona, Spain

If its not working using the official npm registry mirror

For NPM
Edit your .npmrc file in your home directory
and add/modify the registry name/value pair to...

registry=https://skimdb.npmjs.com/registry/

Works for me

yarn add 7zip-bin is now working for me in London

Same Problem in Tunisia, still down.

still not working in sri lanka

Not working in Winnipeg, Canada

Not working in Malaysia too

Not working in Toronto

Not working in Toronto too:)

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

same issue.

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.

npm ERR! A complete log of this run can be found in:
npm ERR! /home/matt/.npm/_logs/2020-02-12T18_57_26_372Z-debug.log
Package install failed, see above.

If you use the official npm registry mirror it will work

* Mirror * => https://skimdb.npmjs.com/registry/

At least for me it does

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

Fetching https://registry.npmjs.org/error-ex still returns a 404 error in Toronto

Still no working in Markham

I used solution who consist to use vpn.
After I do my command and he work's fine

They said it's resolved. But still not working here in Toronto... :(

Toronto checking in, still down.

Ottawa down as well...

Winnipeg, Canada down as well.

Toronto, damn down.

Egypt, Down

Alberta, Canada down :(

https://status.npmjs.org/ shows it's up. But still down for Toronto. :(

Same for us, status page on npm says up, but we're still seeing build failures (running in Montreal).

finally up in italy 👍

still down in TO

Still having issues in Toronto.

Toronto :'( still down.

Toronto still down (didn't know here are so many Torontonians)

Toronto here too... still 404 :(

Still down in Toronto!

At least the Raptors are doing well...

Ozan needs to publish our build and we can't :( ps. In Toronto as well

Still down in Toronto, using a vpn connected to an Italian server worked fine for me

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(c)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.

You should monitor/post on @npmstatus on Twitter so that they know.

You should monitor/post on @npmstatus on Twitter so that they know.

I emailed their support address 25 mins ago, I'm sure I'm not the only one either. Hopefully they get this fixed soon.

^^ I've just sent an email too.

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!)

It is extremely troubling that we have built an ecosystem that is entirely dependent on a single point of failure like this.

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.

Toronto it is

Still didn't got it...(toronto)

Immigrants unite! Still down...

Maybe the second time I try to use npm install.......
(France)

vpn to Germany did the trick

Just I wanna say anyone who find that the issue has been fixed in his country please mention it

London, Ontario Canada still down:/

France, Savoie -> Still down ! :(

France, Savoie -> Still down ! :(
Isère ! ;)

Toronto = still_down

Toronto is still down

Toronto is still down. We need Kawhi

Zuckerberg is too busy zucking us on facebook, so he won't have time to fix the problem very soon.

Toronto still down

omg i got it to work!

How ?

omg i got it to work!

VPN did the trick for me : https://www.vpnbook.com/howto/setup-openvpn-on-ubuntu
Just follow those steps.
I'm in Toronto

here's the solution.... it's..

VPN did the trick for me : https://www.vpnbook.com/howto/setup-openvpn-on-ubuntu
Just follow those steps.
I'm in Toronto

What region did you use?

Screen Shot 2020-02-12 at 3 40 47 PM

image

VPN did the trick for me : https://www.vpnbook.com/howto/setup-openvpn-on-ubuntu
Just follow those steps.
I'm in Toronto

What region did you use?

Poland , server PL226

Using VPN is a symptom of anxiety.

Still down in Toronto.
You can check yourself: https://registry.npmjs.org/error-ex

Can we go home now?

image

It's already been mentioned, but the following works for me for node-error-ex:

npm install https://github.com/Qix-/node-error-ex
npm install

Just use the official mirror for now, works for me and I'm in Toronto

https://skimdb.npmjs.com/registry/

singlepointoffailure #redundancy #thecommunitycanmakeithowitwants #thingsfail #createacommunitysolution

image

Waterloo down :-1:

Ottawa down 👎

Same issue I switched over to yarn and it works not sure why... Hope it helps someone else.

Npm not working in Tunisia

Same issue, I've found a workaround that worked for me though, you could use the public npm registry mirrors:

Just run:

npm config set registry https://skimdb.npmjs.com/registry

Or for yarn as @kuanyshjoinedlane mentioned.


Edit: Issue status

Thanks awran5. it works for me. Here is Waterloo, On.

something new in france ?

Same issue, I've found a workaround that worked for me though, you could use the public npm registry mirrors:

Just run:

npm config set registry https://skimdb.npmjs.com/registry

Or for yarn as @kuanyshjoinedlane mentioned.

THIS WORKED

why does it say it's resolved when it's clearly not : https://status.npmjs.org/incidents/lvgmcrfvrvsh

why does it say it's resolved when it's clearly not : https://status.npmjs.org/incidents/lvgmcrfvrvsh

They are working on this as a separate issue.
https://status.npmjs.org/incidents/00tlqc4fzj14

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.

@DBCOOPER90 have you set it for npm globally?

@DBCOOPER90 have you set it for npm globally?

How you do that..?

@Vincent2703

npm config set registry https://skimdb.npmjs.com/registry

Or try GitHub link if that doesn't work:

npm config set registry https://github.com/npm/npm-registry-couchapp

@DBCOOPER90 have you set it for npm globally?

I'm using the .npmrc file to specify the registry. That should have worked. Not sure what you mean by globally

@DBCOOPER90 I meant in the global path not in some local projects.

When working locally in a project, a .npmrc file in the root of the project (ie, a sibling of node_modules and package.json) will set config values specific to this project. Docs

it works here in Egypt, with just the basic vue create run

It works now in Egypt guys!

Had the same issue, and I used hide me VPN with country Nethernalds to generate the project.

Used VPN as well and it worked!!!

Guess it's down in morocco too because i'm getting that same error right now

Toronto is good now 👍

Sri Lanka (South Asia) is good now. Thank you npm team

Sri Lanka is good now too. Are there anybody who is still experiencing the 404?

working in India

Working fine ,,

Works again in Barcelona ;)

It’s working in Egypt now 👍 Thank you

Turkey not working :(

Yes, finally it's working in Egypt today :)

back in Lyon-Fr 👍

Just for record, London Canada is up and running!

The 404 error is fixed now. Hence closing the most commented issue in create-react-app 😄

i add two commands then solved the issue :p
npm install --save err
npm config set registry https://skimdb.npmjs.com/registry
worked for me :)

npm config set registry https://skimdb.npmjs.com/registry

Worked for CRA

I just published my own package with github packages and when I try to install it I get the same error. I think something is going wrong with npm servers. I did check all my steps and I think are correct (Chile).

Was this page helpful?
0 / 5 - 0 ratings

Related issues

onelson picture onelson  ·  3Comments

Aranir picture Aranir  ·  3Comments

fson picture fson  ·  3Comments

adrice727 picture adrice727  ·  3Comments

alleroux picture alleroux  ·  3Comments