2

npmでclaymateをインストールしようとしていますが、成功しません。それは私に与えます:

mateuss-air:~ mateuspinheiro$ npm install claymate
npm ERR! Darwin 13.3.0
npm ERR! argv "node" "/usr/local/bin/npm" "install" "claymate"
npm ERR! node v0.10.32
npm ERR! npm  v2.0.0
npm ERR! code ETARGET

npm ERR! notarget No compatible version found: bower-config@'>=0.2.0 <0.3.0'
npm ERR! notarget Valid install targets:
npm ERR! notarget ["0.1.0-rc.1","0.1.0-rc.2","0.1.0-rc.3","0.1.0-rc.4","0.1.0-rc.5","0.2.0-rc.1","0.2.0-rc.2","0.3.0","0.3.1","0.3.3","0.3.4","0.3.5","0.4.0","0.4.1","0.4.2","0.4.3","0.4.4","0.4.5","0.5.0","0.5.1","0.5.2"]
npm ERR! notarget 
npm ERR! notarget This is most likely not a problem with npm itself.
npm ERR! notarget In most cases you or one of your dependencies are requesting
npm ERR! notarget a package version that doesn't exist.

手がかりはありますか?

ありがとう!

4

3 に答える 3

4

私はあなたに答えを持っています。数日前にそれを行い、最終的にクレイメイトが機能するようになりました。それが誰かに役立つことを願っています。

npm@1 をインストールする必要があります (そのように記述します)。次に、インストールディレクトリに移動し(Uはデフォルトでnmp2を使用します)、その場所からクレイメイトをインストールします。それでおしまい。それと同じくらい簡単で、私はそれを理解するのに多くの時間を費やしました.

于 2015-03-06T07:10:45.547 に答える
4

非常に簡単です: HomeBrew を使用して npm をインストールしないでください。それは物事を台無しにします。

ノードに付属の npm をインストールしましたが、今ではまったく問題ありません。

于 2014-09-22T13:30:10.850 に答える
2

私にはうまくいきません。バイナリ インストーラー経由でノードと npm をインストールし、npm を 2.6 に更新しました。

sudo npm install -g npm

npm ERR! Darwin 14.1.0
npm ERR! argv "node" "/usr/local/bin/npm" "install" "-g" "claymate"
npm ERR! node v0.12.0
npm ERR! npm  v2.5.1
npm ERR! code ETARGET

npm ERR! notarget No compatible version found: bower-config@'>=0.2.0 <0.3.0'
npm ERR! notarget Valid install targets:
npm ERR! notarget ["0.1.0-rc.1","0.1.0-rc.2","0.1.0-rc.3","0.1.0-rc.4","0.1.0-rc.5","0.2.0-rc.1","0.2.0-rc.2","0.3.0","0.3.1","0.3.3","0.3.4","0.3.5","0.4.0","0.4.1","0.4.2","0.4.3","0.4.4","0.4.5","0.5.0","0.5.1","0.5.2"]
npm ERR! notarget 
npm ERR! notarget This is most likely not a problem with npm itself.
npm ERR! notarget In most cases you or one of your dependencies are requesting
npm ERR! notarget a package version that doesn't exist.
于 2015-02-24T12:49:33.630 に答える