1

我正在尝试在我自己的服务器(操作系统:Linux Ubuntu Server 12.04)上安装 OpenEdX,但我遇到了同样的错误。谁能帮我?

TASK:  [ insights | install bower dependencies]**************************
failed: [localhost] => {"changed"; true, "cmd"; 
"./edx/app/insights/nodeenvs/insights/bin/activate && 
/edx/app/insights/edx_analystics_dashboard/node_modules/.bin/bower install --production --config.interactive=false", "delta": "0:02:32.056040", "ende"; "2015-05-01 05:32:47.289788", "rc":1, "start": "2015-05-01 05:38:33.233748", "waring": []}
stderr: bower globalize#1.0.0-alpha.17                                ECMDERR Failed to execute "git ls-remote --tags --heads git://github.com/jquery/globalize.git", exit code of #128 fatal: unable to connect to github.com:github.com[0: 192.30.252.130]: errno=Connection timed out
Additional error details:
fatal: unable to connect to github.com:
github.com[0: 192.30.252.130]: errno=Connection timed out
stdout: bower globalize#1.0.0-alpha.17              not-cached  git://github.com/jquery/globalize.git#1.0.0-alpha.17  
bower globalize#1.0.0-alpha.17                         resolve  git://github.com/jquery/globalize.git#1.0.0-alpha.17
4

1 回答 1

1

确保允许您使用 git:// url 架构访问 repo(使用端口 9418,有时会被防火墙阻止)

您可以先测试相同的安装过程:

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

(请参阅“无法连接到 github.com 进行克隆”)

于 2015-05-01T11:17:04.430 回答