nodejs grunt 错误

Running grunt serve you could get this error:

Warning: Loading "imagemin.js" tasks...ERROR
>> Error: Cannot find module 'imagemin-gifsicle'
To solve it, try to run:

解决方法:
卸载grunt-contrib-imagemin,再安装
npm uninstall --save-dev grunt-contrib-imagemin && npm install --save-dev grunt-contrib-imagemin

你可能感兴趣的:(nodejs,错误,grunt)