Using NPM behind proxy
Config NPM behind proxy by config and proxy or https-proxy:
npm config set proxy http://proxy.company.com:8080 npm config set https-proxy http://proxy.company.com:8080
If you want to specify the credential, they can passed by the following URL syntax:
http://username:password@proxy.company.com:8080
npm config set proxy http://proxy.company.com:8080 npm config set https-proxy http://proxy.company.com:8080
If you want to specify the credential, they can passed by the following URL syntax:
http://username:password@proxy.company.com:8080
留言
張貼留言