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

非常简单:不要使用 HomeBrew 安装 npm。它把事情搞砸了。

安装了node自带的npm,现在完全没问题了。

于 2014-09-22T13:30:10.850 回答
4

我有一个答案给你。几天前就这样做了,最后让claymate开始工作。希望它可以帮助某人。

你必须安装 npm@1 (这样写)。然后去安装目录(因为你默认使用nmp2)并从那个地方安装claymate。就是这样。就这么简单,我花了很多时间弄清楚。

于 2015-03-06T07:10:45.547 回答
2

对我不起作用。我通过二进制安装程序安装了 node & npm 并将 npm 更新到 2.6

须藤 npm 安装 -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 回答