Install grunt

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.


正如Alex在评论中提到的,正确的答案是更新描述版本中支持'^'的npm版本

链接地址: http://www.djcxy.com/p/4750.html

上一篇: lodash和下划线之间的区别

下一篇: 安装咕噜声