我正在尝试用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.
任何线索?
谢谢!
答案 0 :(得分:4)
非常简单:不要使用HomeBrew安装npm。它弄乱了。
安装了节点附带的npm,它现在完全正常。
答案 1 :(得分:4)
我得到了答案。那几天前,最后还是让最后一个工作。希望它对某人有所帮助。
你必须安装npm @ 1(像这样写)。然后去安装目录(因为U默认使用nmp2)并从那个地方安装claymate。 就是这样。 就这么简单,我花了很多时间搞清楚它。
答案 2 :(得分:2)
对我不起作用。 我安装了节点&amp; 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.