我在安装 Meteorite 时遇到问题.
我目前要开始处理 Telescope Project托管here 。
我已将 Telescope 下载到 D:\Meteor\Telescope
中,并在命令提示符下使用 npm install -g Meteorite
安装了 Meteorite。
但是当我使用 mrt
命令朗姆酒陨石时,我收到以下错误:
Stand back while Meteorite does its thing
Installing Meteor
branch: https://github.com/meteor/meteor.git#master
Installing smart packages
C:\Users\Snowflax\AppData\Roaming\npm\node_modules\meteorite\lib\sources\git.js:108
throw "There was a problem cloning repo: " + self.url;
^
There was a problem cloning repo: https://github.com/meteor/meteor.git
这里出了什么问题?我的 Windows 7 系统上已经安装了 Meteor Preview 0.4.2
。
是否存在跨平台问题?任何帮助将不胜感激。
最佳答案
异常消息来自meteorite lib/sources/git.js
:
GitSource.prototype._clone = function(fn) {
var self = this;
if (!fs.existsSync(this.sourcePath)) {
exec('git clone ' + self.url + ' ' + this.sourcePath, function(err, stdout, stderr) {
if (err)
throw "There was a problem cloning repo: " + self.url;
fn();
});
} else {
fn();
}
};
您需要将 this.sourcePath
值添加到异常消息中,然后手动重复 git clone
命令(在您自己的 git- cmd
DOS session )以查看失败的原因。
关于git - Meteor:从 Github 克隆存储库时出错,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/14192098/