我无法grunt-contrib-imagemin
在 yeoman (angular) 项目中安装该软件包。它失败了
npm ERR! weird error 1
npm ERR! not ok code 0
但没有报告其他错误。
我正在运行 Ubuntu 12.04 和 NodeJS 0.8
这可以通过将 nodejs 更新到 0.10 版本来解决
我按照http://slopjong.de/2012/10/31/how-to-install-the-latest-nodejs-in-ubuntu/的说明进行操作