Serefei
1 month ago
376
4
Mix

Running `npm install` Throws `ENOTFOUND registry.npmjs.org`

Posted 1 month ago by Serefei

I'm trying to implement Laravel mix on my current project. However, upon running npm install it gives me this error

npm ERR! code ENOTFOUND
npm ERR! errno ENOTFOUND
npm ERR! network request to https://registry.npmjs.org/@babel/parser/-/parser-7.11.5.tgz failed, reason: getaddrinfo ENOTFOUND registry.npmjs.org
npm ERR! network This is a problem related to network connectivity.
npm ERR! network In most cases you are behind a proxy or have bad network settings.

I tried to check ping most of the daily sites I used and all returned good aside from registry.npmjs.org

Tried to access https://registry.npmjs.org/ on browser and gives me this

This site can’t be reached
registry.npmjs.org’s server IP address could not be found.

I would like to ask if this is happening on your side as well. Please let me know your advice.

Thanks in advance!

Please sign in or create an account to participate in this conversation.