鲍尔未能安装聚合物/纸元素

时间:2015-04-06 20:55:53

标签: polymer bower

我目前正在尝试使用凉亭安装聚合物纸张组件,但我遇到了错误。

我试过了:

  • 正在运行' bower cache clear'
  • 将它放入我的bower.json并使用' bower update'

然而,无论我尝试什么,我都会沿着这些方向找到一些东西(有时它会因为变化而失败):

bower polymer-test-tools#^0.5            cached git://github.com/Polymer/polymer-test-tools.git#0.5.5
bower polymer-test-tools#^0.5          validate 0.5.5 against git://github.com/Polymer/polymer-test-tools.git#^0.5
bower core-drawer-panel#^0.5            ECMDERR Failed to execute "git ls-remote --tags --heads git://github.com/Polymer/core-drawer-panel.git", exit code of #128

Additional error details:
fatal: unable to connect to github.com:
github.com[0: 192.30.252.130]: errno=Operation timed out

Stack trace:
Error: Failed to execute "git ls-remote --tags --heads git://github.com/Polymer/core-drawer-panel.git", exit code of #128
    at createError (/usr/local/lib/node_modules/bower/lib/util/createError.js:4:15)
    at ChildProcess.<anonymous> (/usr/local/lib/node_modules/bower/lib/util/cmd.js:102:21)
    at ChildProcess.emit (events.js:110:17)
    at maybeClose (child_process.js:1008:16)
    at Socket.<anonymous> (child_process.js:1176:11)
    at Socket.emit (events.js:107:17)
    at Pipe.close (net.js:476:12)
From previous event:
    at executeCmd (/usr/local/lib/node_modules/bower/lib/util/cmd.js:61:22)
    at PThrottler._processEntry (/usr/local/lib/node_modules/bower/node_modules/p-throttler/index.js:89:25)
    at PThrottler._processQueue (/usr/local/lib/node_modules/bower/node_modules/p-throttler/index.js:67:18)
    at Array.forEach (native)
    at PThrottler._onFulfill (/usr/local/lib/node_modules/bower/node_modules/p-throttler/index.js:121:17)

Console trace:
Trace
    at StandardRenderer.error (/usr/local/lib/node_modules/bower/lib/renderers/StandardRenderer.js:82:17)
    at Logger.<anonymous> (/usr/local/lib/node_modules/bower/bin/bower:110:22)
    at Logger.emit (events.js:107:17)
    at Logger.emit (/usr/local/lib/node_modules/bower/node_modules/bower-logger/lib/Logger.js:29:39)
    at /usr/local/lib/node_modules/bower/lib/commands/index.js:40:20
    at _rejected (/usr/local/lib/node_modules/bower/node_modules/q/q.js:797:24)
    at /usr/local/lib/node_modules/bower/node_modules/q/q.js:823:30
    at Promise.when (/usr/local/lib/node_modules/bower/node_modules/q/q.js:1035:31)
    at Promise.promise.promiseDispatch (/usr/local/lib/node_modules/bower/node_modules/q/q.js:741:41)
    at /usr/local/lib/node_modules/bower/node_modules/q/q.js:557:44

System info:
Bower version: 1.3.12
Node version: 0.12.0
OS: Darwin 14.3.0 x64
直到今天,鲍尔似乎工作正常。

1 个答案:

答案 0 :(得分:1)

尝试运行:

$ git config --global url."https://".insteadOf git://