NPM Cordova byPass Proxy
This is to see the config file
npm config edit
npm config set proxy http://proxy.company.com:8080
npm config set https-proxy http://proxy.company.com:8080
Set Proxy with username and password
npm config set proxy "http://domain%5Cusername:password@servername:port/"
- domain/user_name <--- replace / with %5C
Check Cordova version
npm --version
npm config edit
npm config set proxy http://proxy.company.com:8080
npm config set https-proxy http://proxy.company.com:8080
Set Proxy with username and password
npm config set proxy "http://domain%5Cusername:password@servername:port/"
Check Cordova version
npm --version
Comments
Post a Comment