-
Notifications
You must be signed in to change notification settings - Fork 623
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
node_modules/optipng-bin/vendor/optipng ENOENT #5
Comments
It seems like something is wrong with your gulp-imagemin plugin.
Make sure there are no errors during installation. |
rm -rf node_modules probably because i run |
Yeah, imagemin depends on node-gyp. |
Similar issue. I believe what worked for me was: npm install node-gyp So, I think what they said above, just all in one post. |
npm rebuild solve it here! |
Same issue here. uninstall/reinstall of gulp-imagemin fixed symptoms. npm install hadn't previously reported any issues with the install. node-gyp installed. Not sure if there is some hidden instability in package dependencies as my gulp task had been running fine in the same environment/project then spuriously stopped working. I'm not sure what had changed to introduce error.
|
works for me. |
None of the solutions worked for me. Any other recommendations. Warning: Error: spawn /applic/node_modules/optipng-bin/vendor/optipng ENOENT |
when run
$ gulp dev
Error: spawn /home/streverf/www/fancy/node_modules/optipng-bin/vendor/optipng ENOENT
at exports._errnoException (util.js:870:11)
at Process.ChildProcess._handle.onexit (internal/child_process.js:178:32)
at onErrorNT (internal/child_process.js:344:16)
at nextTickCallbackWith2Args (node.js:441:9)
at process._tickCallback (node.js:355:17)
env:
$ npm -version
3.5.2
$ nodejs --version
v4.2.6
The text was updated successfully, but these errors were encountered: