【问题标题】:Cloning github repo meteorite exception克隆 github repo 陨石异常
【发布时间】:2014-03-03 05:11:04
【问题描述】:

从 npm 安装陨石之后

npm install -g meteorite

我尝试添加路由器包

mrt add router --verbose

这就是我得到的

smart.json changed.. installing from smart.json
Resolving dependency tree
Connecting to atmosphere.meteor.com:443...
Connected..
Getting package info for router...
Got package info for router.
Getting package info for page-js-ie-support...
Got package info for page-js-ie-support.
Getting package info for HTML5-History-API...
Got package info for HTML5-History-API.
smart.json changed.. installing from smart.json
Resolving dependency tree
Getting package info for router...
Got package info for router.
Getting package info for page-js-ie-support...
Got package info for page-js-ie-support.
Getting package info for HTML5-History-API...
Got package info for HTML5-History-API.
✓ router
    tag: https://github.com/tmeasday/meteor-router.git#v0.5.4.1

/usr/lib/node_modules/meteorite/lib/sources/git.js:114
        throw "There was a problem cloning repo: " + self.url +
                                                              ^
There was a problem cloning repo: https://github.com/tmeasday/meteor-router.git
Please check https://github.com/oortcloud/meteorite/blob/master/CONTRIBUTING.md#troubleshooting for potential explanations.

连接到443端口,但是无法克隆repo..

所以我在查看 Atmosphere 文件时发现了异常:

https://github.com/oortcloud/meteorite/blob/master/lib/sources/git.js#L103-L114

但是我该如何解决这个问题?

PS:我只在我的 Ubuntu 12.10 上遇到问题,而在我的 Debian 7.3 上没有

【问题讨论】:

    标签: github meteor meteorite ubuntu-12.10


    【解决方案1】:

    1) 请在几分钟/几小时后重试。此类错误有时会随机发生并在一段时间后消失。

    2) 改用iron-router。好多了。

    【讨论】:

    • 我从昨天开始一直在尝试.. Iron-router 给出了同样的问题
    【解决方案2】:

    问题实际上出在 ubuntu“Git”包的某个地方。

    我删除并重新安装它,克隆工作正常

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2021-07-16
      • 1970-01-01
      • 2020-11-24
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多