Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/macos/8.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Macos 凉亭坏了_Macos_Git_Github_Version Control_Bower - Fatal编程技术网

Macos 凉亭坏了

Macos 凉亭坏了,macos,git,github,version-control,bower,Macos,Git,Github,Version Control,Bower,我正在使用mac,我对bower有一些问题。它不会按名称下载任何git存储库,但如果我提供完整路径,它会下载 例如,此呼叫: bower install --save Polymer/core-elements 将返回多次: bower retry Download of https://github.com/PolymerLabs/marked-element/archive/0.3.3.tar.gz failed with ECONNRESET, trying with g

我正在使用mac,我对bower有一些问题。它不会按名称下载任何git存储库,但如果我提供完整路径,它会下载

例如,此呼叫:

bower install --save Polymer/core-elements
将返回多次:

bower retry         Download of https://github.com/PolymerLabs/marked-element/archive/0.3.3.tar.gz failed with ECONNRESET, trying with git..
但当我尝试运行此程序时:

bower install --save https://github.com/Polymer/marked-element.git
一切正常

我在多个存储库中尝试过这一点,因此polymer项目只是一个例子


我的凉亭怎么了

发现此github问题。但帮助我的只是确保
.bowerrc
文件中的代理设置正确。在我的例子中,我刚刚删除了所有与代理设置相关的内容