安装cordova时出错

时间:2015-05-07 17:02:27

标签: cordova npm browserify visual-studio-cordova jsonstream

运行此命令后:

sudo npm install -g cordova

我收到此错误:

npm ERR! notarget No compatible version found: JSONStream@'>=1.0.3-0 <2.0.0-0'
npm ERR! notarget Valid install targets:
npm ERR! notarget ["0.0.0","0.1.0","0.1.1","0.1.2","0.1.3","0.2.0","0.2.1","0.2.2","0.2.3","0.3.0","0.3.1","0.3.2","0.3.3","0.4.0","0.4.1","0.4.2","0.4.3","0.4.4","0.5.0","0.6.0","0.6.1","0.6.2","0.6.3","0.6.4","0.7.0","0.7.1","0.8.0","0.7.2","0.7.3","0.7.4","0.8.1","0.8.2","0.8.3","0.8.4","0.9.0","0.10.0"]
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.

欢迎提供帮助。 感谢

1 个答案:

答案 0 :(得分:7)

更新:问题已通过https://issues.apache.org/jira/browse/CB-8985

修复

由于配置错误,这是一个临时问题,我相信很快就会修复。

与此同时,您可以通过sudo npm install -g cordova@4.0.0使用版本4,并在今天稍后更新,以便修复。