Cannot install grunt-contrib-imagemin (weird error 1)


I cannot install the package grunt-contrib-imagemin in a yeoman (angular) project. It fails with

npm ERR! weird error 1
npm ERR! not ok code 0

But no other errors are reported.

I am running Ubuntu 12.04, and NodeJS 0.8

Problem courtesy of: altschuler


This is solved by updating nodejs to version 0.10

I followed to instructions at

Solution courtesy of: altschuler


There is currently no discussion for this recipe.

This recipe can be found in it's original form on Stack Over Flow.