Install grunt-phonegap - Error: No compatible version found: URIjs@'^1.12.0'

假如想象 提交于 2019-12-13 04:34:50

问题


I was trying to install grunt-phonegap

npm install grunt-phonegap

And got this error

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.


回答1:


As Alex mentioned in the comment, correct answer is to update npm version which supports '^' in describing versions



来源:https://stackoverflow.com/questions/22270244/install-grunt-phonegap-error-no-compatible-version-found-urijs1-12-0

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!