从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,但它无法克隆回购..
所以我正在查看Atmosphere文件,我在这里找到了例外:
https://github.com/oortcloud/meteorite/blob/master/lib/sources/git.js#L103-L114
但我该如何解决这个问题?
PS:我的Ubuntu 12.10只有问题而不是我的Debian 7.3
答案 0 :(得分:1)
1)在几分钟/几小时内再试一次。这些错误有时会随机发生,并在一段时间后消失。
2)请尝试iron-router
。这样更好。
答案 1 :(得分:0)
问题实际上是ubuntu“Git”包中的某个地方。
我删除并重新安装它,克隆工作正常