引用github issue上国外网友的回答:
If it's any help, I'm facing the same problem in the same conditions (cntlm to bypass corporate proxy). I used bower-canary as @satazor suggested. Didn't work until I had the following in my .bowerrc
如果有任何帮助,我在相同的条件下面临同样的问题(cntlm 绕过公司代理)。我按照@satazor 的建议使用了 bower-canary。直到我的 .bowerrc 中有以下内容才起作用
{
"proxy" : "http://localhost:3131",
"https-proxy" : "http://localhost:3131",
"strict-ssl": false
}
Knowing that 3131 is my proxy port. Don't forget to execute git config --global url."https://".insteadOf git://
when behind a corporate proxy which blocks git protocol if needed
知道 3131 是我的代理端口。不要忘记在公司代理后面执行 git config --global url."https://".insteadOf git:// 在需要时阻止 git 协议