鲍尔没有从bower.json安装

我被困在公司的防火墙/代理地狱…我试图从我的bower.json文件安装我的依赖关系,但是打到这个错误:

bower jquery#~2.1.1 ECMDERR Failed to execute "git ls-remote --tags --heads https://github.com/jquery/jquery.git", exit code of #128 Additional error details: fatal: unable to access 'https://github.com/jquery/jquery.git/': Failed connect to github.com:443; No error 

我已经谷歌这一点,并find了很多答案,并尝试以下,但似乎没有解决我的问题。

我已经设置了我的gitconfiguration如下:

 url.http://.insteadof=git:// url.https://.insteadof=git:// 

我使用CNTLM来pipe理我的代理凭证,所以我的代理设置如下所示:

 http.proxy=http://127.0.0.1:53128/ https.proxy=http://127.0.0.1:53128/ 

以下在我的NPMconfiguration:

 http_proxy = "http://127.0.0.1:53128/" https-proxy = "http://127.0.0.1:53128/" https_proxy = "http://127.0.0.1:53128" proxy = "http://127.0.0.1:53128/" registry = "http://registry.npmjs.org/" strict-ssl = false 

我在.bowerrc文件中设置了以下内容:

 "proxy":"http://127.0.0.1:53128", "https-proxy":"http://127.0.0.1:53128", "strict-ssl":false 

我认为这是一切,当我尝试bower list时,我收到类似的错误信息。

我所有的git命令(如克隆)通过代理罚款。 这是什么导致我认为这是一个凉亭configuration问题,但我找不到在这方面的大量帮助。

提前致谢。

在Windows命令行我设置我的代理环境variables如此

 > set https_proxy=http://10.1.56.10:80/ > set http_proxy=http://10.1.56.10:80/ 

然后我能够得到我的依赖

我看到一个类似的问题,发现它是与.bowerrc文件。

我改变了我的是这样的事情,它工作得很好:

 { "proxy":"http://127.0.0.1:53128", "https-proxy":"http://127.0.0.1:53128", "registry": "http://bower.herokuapp.com", "strict-ssl":false }