Npm 如何让bower安装在代理之后工作?

Npm 如何让bower安装在代理之后工作?,npm,bower,Npm,Bower,我已经为windows和npm设置了(我认为)所有代理设置。但是鲍尔没有,这是我得到的错误: download https://github.com/jquery/jquery/archive/2.1.4.tar.gz retry Download of https://github.com/jquery/jquery/archive/2.1.4.tar.gz failed with ECONNRESET, retrying in 1.7s retry Download

我已经为windows和npm设置了(我认为)所有代理设置。但是鲍尔没有,这是我得到的错误:

  download https://github.com/jquery/jquery/archive/2.1.4.tar.gz
     retry Download of https://github.com/jquery/jquery/archive/2.1.4.tar.gz failed with ECONNRESET, retrying in 1.7s
     retry Download of https://github.com/jquery/jquery/archive/2.1.4.tar.gz failed with ECONNRESET, retrying in 2.2s
    Error: EPERM: operation not permitted, unlink...
取消链接后显示的文件甚至不存在

鲍尔版本:1.5.3 节点版本:4.1.1 操作系统:Windows NT 6.1.7601 x64


如何避免此错误?

请查看此处:

.bowerrc
中,可以添加以下属性:

"proxy":"http://<host>:<port>",
"https-proxy":"http://<host>:<port>"
“代理”:“http://:”,
“https代理”:“http://:”
这里还有一个示例,其中包括代理的用户和密码身份验证(如果是这种情况):

“代理”:“http:/:@:”,
“https代理”:“http:/:@:”
另外,看一下堆栈上的这个问题:

"proxy":"http://<user>:<password>@<host>:<port>",
"https-proxy":"http://<user>:<password>@<host>:<port>"