score:0

based on this line in the error message:

npm err! network request to https://registry.npmjs.org/webpack-dev-server/-/webpack-dev-server-3.11.0.tgz failed, reason: getaddrinfo enotfound proxy.company.com

...you have proxy.company.com set as your proxy somewhere. find that and fix it to the setting you actually need or else remove it if you need no proxy (which is the standard/typical case). in the latter case, use npm config delete proxy and then try to install.

perhaps you were following the instructions at https://jjasonclark.com/how-to-setup-node-behind-web-proxy/ or a related tutorial that uses proxy.company.com in its examples.

score:1

go to

c:\users\username

and then search

.npmrc

open .npmrc file with notepad and delete everything and past

http_proxy=http://domain:8080

this works for me.


Related Query

More Query from same tag