安装科尔多瓦时出错
Error installing cordova
在 运行 这个命令之后:
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.
欢迎提供帮助。
谢谢
更新:问题已通过 https://issues.apache.org/jira/browse/CB-8985
修复
这是一个由于配置错误导致的暂时性问题,我相信很快就会得到解决。
与此同时,您可以通过 sudo npm install -g cordova@4.0.0
使用版本 4 并在今天晚些时候更新,届时它会得到修复。
在 运行 这个命令之后:
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.
欢迎提供帮助。 谢谢
更新:问题已通过 https://issues.apache.org/jira/browse/CB-8985
修复这是一个由于配置错误导致的暂时性问题,我相信很快就会得到解决。
与此同时,您可以通过 sudo npm install -g cordova@4.0.0
使用版本 4 并在今天晚些时候更新,届时它会得到修复。