安装grunt-phonegap - 错误:找不到兼容版本:URIjs@'^1.12.0' [英] Install grunt-phonegap - Error: No compatible version found: URIjs@'^1.12.0'
本文介绍了安装grunt-phonegap - 错误:找不到兼容版本:URIjs@'^1.12.0'的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在尝试安装grunt-phonegap
I was trying to install grunt-phonegap
npm安装grunt-phonegap
npm install grunt-phonegap
得到这个错误
npm http 304 https://registry.npmjs.org/URIjs
npm ERR! Error: No compatible version found: URIjs@'^1.12.0'
npm ERR! Valid install targets:
npm ERR! ["1.4.2","1.6.3","1.7.0","1.7.1","1.7.2","1.7.3","1.7.4","1.8.0","1.8.1","1.8.2","1.8.3","1.9.0","1.9.1","1.10.0","1.10.1","1.10.2","1.11.0","1.11.1","1.11.2","1.12.0"]
我回答了我的问题,但这只是一个暂时的解决方案,并没有解释真正的问题。
I've answered to my question, but it's just a temporary solution which doesn't explain the real problem.
推荐答案
As <在评论中提到的href =http://stackoverflow.com/users/1374175/alex> Alex ,正确的答案是更新npm版本,它在描述版本中支持'^'
As Alex mentioned in the comment, correct answer is to update npm version which supports '^' in describing versions
这篇关于安装grunt-phonegap - 错误:找不到兼容版本:URIjs@'^1.12.0'的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文