Node.js 无法安装grunt contrib imagemin(错误1)

Node.js 无法安装grunt contrib imagemin(错误1),node.js,ubuntu,npm,gruntjs,yeoman,Node.js,Ubuntu,Npm,Gruntjs,Yeoman,我无法在yeoman(angular)项目中安装软件包grunt contrib imagemin。它失败了 npm ERR! weird error 1 npm ERR! not ok code 0 但没有报告其他错误 我运行的是Ubuntu12.04和NodeJS 0.8,这可以通过将NodeJS更新到0.10版本来解决 我按照上的说明操作,你们在哪个平台上运行?忘记了,更新答案。

我无法在yeoman(angular)项目中安装软件包
grunt contrib imagemin
。它失败了

npm ERR! weird error 1
npm ERR! not ok code 0
但没有报告其他错误


我运行的是Ubuntu12.04和NodeJS 0.8,这可以通过将NodeJS更新到0.10版本来解决


我按照

上的说明操作,你们在哪个平台上运行?忘记了,更新答案。