【问题标题】:Error to install insights ( install bower ) { OpenEdX , Ubuntu Server 12.04 }安装见解时出错(安装 bower){ OpenEdX ,Ubuntu Server 12.04 }
【发布时间】:2015-07-11 05:15:12
【问题描述】:

我正在尝试在我自己的服务器(操作系统: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

【问题讨论】:

    标签: linux git ubuntu-12.04 bower openedx


    【解决方案1】:

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

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

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

    (见“Unable to connect to github.com for cloning”)

    【讨论】:

    • 我用它!但没有结果:/我打开 ubuntu 服务器 12.04 并且我不知道如何阻止防火墙? $ sudo git config --list 结果:url.https://.insteadof=git://
    • @faoukovic01 只是为了确定,你能升级 git 吗? 12.04 似乎是一个古老的发行版,我担心 git --version 可能会返回一个更旧的 git 版本。请参阅stackoverflow.com/a/28794322/6309 进行升级。
    • 好的,我愿意:$ git --version 结果git version 2.3.7 所以这是正确的版本@VonC​​pan>
    • @faoukovic01 它确实(几乎)是 Git 的最新版本(昨天发布了 2.4.0)。安装会更好吗? (仍然确保先完成git config --global url."https://".insteadOf git://
    • 所以我开始所以先升级到 2.4.0 ; $ sudo git config --list 结果:url.https://.insteadof=git:// 这样就完成了!! @VonC​​pan>
    猜你喜欢
    • 2012-09-02
    • 2013-12-17
    • 2013-08-09
    • 1970-01-01
    • 1970-01-01
    • 2015-03-28
    • 2014-04-17
    • 1970-01-01
    • 2014-06-27
    相关资源
    最近更新 更多