Categories
JavaScript Answers

How to fix npm ERR! network getaddrinfo ENOTFOUND error with JavaScript?

Spread the love

To fix npm ERR! network getaddrinfo ENOTFOUND error with JavaScript, we fix the proxy settings.

For instance, we run

npm config set proxy http://domain:8080

to run npm config set proxy to make npm use the correct proxy URL.

By John Au-Yeung

Web developer specializing in React, Vue, and front end development.

Leave a Reply

Your email address will not be published.