【发布时间】:2017-04-23 14:42:30
【问题描述】:
如何正确配置 Visual Studio 工具以在代理后工作?
【问题讨论】:
标签: visual-studio-2015 npm proxy visual-studio-2017 bower
如何正确配置 Visual Studio 工具以在代理后工作?
【问题讨论】:
标签: visual-studio-2015 npm proxy visual-studio-2017 bower
npm config set proxy http://proxyuser:proxypwd@proxy.server.com:8080。npm config set https-proxy http://proxyuser:proxypwd@proxy.server.com:8080。git config --global http.proxy http://proxyuser:proxypwd@proxy.server.com:8080。git config --global https.proxy http://proxyuser:proxypwd@proxy.server.com:8080。写
{
"registry": "http://bower.herokuapp.com",
"proxy": "http://proxyuser:proxypwd@proxy.server.com:8080",
"https-proxy": "http://proxyuser:proxypwd@proxy.server.com:8080"
}
警告:如果您的代理密码中有特殊字符,则必须对代理 URL 进行编码。示例:
等一下 :)
【讨论】: