Skip to content
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

Cannot Initialize? #61

Open
dmr07 opened this issue Oct 19, 2015 · 0 comments
Open

Cannot Initialize? #61

dmr07 opened this issue Oct 19, 2015 · 0 comments

Comments

@dmr07
Copy link

dmr07 commented Oct 19, 2015

Fairly new to imagemin, using it with Gulp. Got error below.
#57 I reinstalled all my app's dependencies again. Still running into same error.

Node: 4.2.1
npm: 2.14.7

Running inside Vagrant, used command "npm run gulp". Did not include imagemin-pngquant as per example in npm.

events.js:141
      throw er; // Unhandled 'error' event
      ^
Error: Command failed: /home/vagrant/local/venvy-eva/node_modules/gulp-imagemin/node_modules/imagemin/node_modules/imagemin-optipng/node_modules/optipng-bin/vendor/optipng -strip all -clobber -force -fix -o 2 -out /home/vagrant/local/venvy-eva/ab2ac3e6-3114-41e9-8dbc-b41f3d54a41f /home/vagrant/local/venvy-eva/004dcf3e-f290-43be-908e-85dfec1d53b5
/home/vagrant/local/venvy-eva/node_modules/gulp-imagemin/node_modules/imagemin/node_modules/imagemin-optipng/node_modules/optipng-bin/vendor/optipng: 6: /home/vagrant/local/venvy-eva/node_modules/gulp-imagemin/node_modules/imagemin/node_modules/imagemin-optipng/node_modules/optipng-bin/vendor/optipng: Syntax error: newline unexpected

    at ChildProcess.exithandler (child_process.js:203:12)
    at emitTwo (events.js:87:13)
    at ChildProcess.emit (events.js:172:7)
    at maybeClose (internal/child_process.js:818:16)
    at Socket.<anonymous> (internal/child_process.js:319:11)
    at emitOne (events.js:77:13)
    at Socket.emit (events.js:169:7)
    at Pipe._onclose (net.js:469:12)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant