I ran into the following error when running the imagemin task:
@Fatal error: spawn ENOENT@
I solved it by doing the following:
Add “jpegtran-bin”: “0.2.0” before the reference to imagemin in package.json,
Delete the node_modules folder from project
Run “npm install”
Run “grunt”
I ran into the following error when running the imagemin task:
@Fatal error: spawn ENOENT@
I solved it by doing the following:
Add “jpegtran-bin”: “0.2.0” before the reference to imagemin in package.json,
Delete the node_modules folder from project
Run “npm install”
Run “grunt”