无法安装PhoneGap – 找不到兼容版本:JSONStream @'> = 1.0.3 <2.0.0
当我尝试使用npm install -g phonegap
或npm install -gf phonegap
安装PhoneGap时,出现以下错误消息:
npm ERR! Darwin 14.1.0 npm ERR! argv "node" "/usr/local/bin/npm" "install" "-g" "phonegap" npm ERR! node v0.12.0 npm ERR! npm v2.9.0 npm ERR! code ETARGET npm ERR! notarget No compatible version found: JSONStream@'>=1.0.3 <2.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. npm ERR! notarget npm ERR! notarget It was specified as a dependency of 'deps-sort' npm ERR! notarget
帮助将不胜感激。 谢谢!!
这是一个暂时的问题,由于configuration不好,我相信很快就会被修复。
同时,您可以通过sudo npm install -g phonegap@4.0.0-0.22.7
使用版本4,并在今天sudo npm install -g phonegap@4.0.0-0.22.7
进行更新。
这对我工作谢谢。
sudo npm install -g phonegap@4.0.0-0.22.7
和cordova
sudo npm install -g cordova@4.1.2
现在按照以下url解决问题: https : //github.com/dominictarr/JSONStream/issues/68
你应该可以更新/安装。
- 在Nodejs中生成API密钥和哈希密码的最好方法是什么?
- 使用winston中的自定义格式化程序logging错误
- Yeoman / JS:在HTML模板中重复HTML块 – 编译最终与WordPress集成?
- JXCore – 错误的语言环境parsing(Date.toLocaleString())
- NodeJS和supertest:用npm命令开始testing
- nodejs – graphicMagick – imageMagick – “参数无效 – – 大小\ r \ n”
- 请求中止expressjs
- 使用Mongoose以编程方式构builddynamic查询
- NODE.JS如何使用node.js显示我的CSS文件夹内的名为CSS的文件夹,其中我的server.js和index.html位于文件夹之外