我正在使用Visual Studio 2015构建一个网页应用程序,但在公司的代理服务器下安装bower包时遇到了问题。
我尝试了以下解决方法:
Created a .bowerrc file in the solution with the following settings.
{ "proxy": "http://xxx.xxx.xxx.xxx:Port", "https-proxy": "http://xxx.xxx.xxx.xxx:Port", "strict-ssl": false }
Installed Git. Changed the git configuration to use https:// instead of git://
bower install
我收到以下错误信息。
bower ECMDERR 执行 "git ls-remote --tags --heads https://github.com/jzaefferer/jquery-validation.git" 失败,退出码为 #128 附加错误详细信息: fatal: 无法访问 'https://github.com/jzaefferer/jquery-validation.git/': Failed connect to github.com:443; No error 有任何想法是出了什么问题吗?