If you are facing below mentioned error while installing packages using NPM
“network tunneling socket could not be established, cause=getaddrinfo ENOTFOUND proxy.company.com proxy.company.com:8080”
Step1: Type: npm config delete proxy
Step1: Type: npm config get proxy (response should be ‘null’)
Try installing now, if it works fine. Everything good.
Otherwise manually edit config file.
Step3: Type: npm config edit
Notepad will open up, comment below lines by attaching ‘;’ before statements and save it
Now try to install packages and it will work fine.