简体   繁体   中英

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

This is solved by updating nodejs to version 0.10

I followed to instructions at http://slopjong.de/2012/10/31/how-to-install-the-latest-nodejs-in-ubuntu/

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM