2

Meteoriteのインストールで問題が発生しています。

私は現在、ここでホストされている望遠鏡プロジェクトに取り組み始めるつもりです。

望遠鏡をにダウンロードし、コマンドプロンプトで D:\Meteor\TelescopeMeteoriteをインストールしました。npm install -g 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

ここで何が問題になっていますか?私はMeteor Preview 0.4.2すでにWindows7システムにインストールしています。クロスプラットフォームの問題はありますか?どんな助けでも適用されます。

4

2 に答える 2

1

例外メッセージは隕石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();
  }
};

例外メッセージに値を追加する必要があり、そこから手動で (自分の DOS セッションで) コマンドをthis.sourcePath繰り返して、なぜ失敗したかを確認します。git clonegit-cmd

于 2013-01-07T08:36:57.157 に答える