Open cibulka opened 9 years ago
Also, if that helps, I use gulp-imagemin
and from today, the tests for gifsicle
and optipng
started to fail - not on each npm install
, but often.
I am meeting the same question~
Newly released gm
1.19.0 has a bug with png/jpg images, the stream closes too early, causing EPIPE or ECONNRESET.
@msokk :+1: updating to gm@1.20.0
worked great :) - I was trying to use gulp-image-resize
I suppose doing npm upgrade
should resolve this issue. Just tried it on my machine and the tests worked again.
Hallo, i have the same problem, using gulp-image-resize
.
events.js:141
throw er; // Unhandled 'error' event
^
Error: Error: write EPIPE
at finish (C:\_projects\zench-okm\node_modules\gulp-image-resize\node_modules\gulp-gm\index.js:40:21)
at gm.<anonymous> (C:\_projects\zench-okm\node_modules\gulp-image-resize\node_modules\async\lib\async.js:485:30)
at emitMany (events.js:108:13)
at gm.emit (events.js:182:7)
at gm.<anonymous> (C:\_projects\zench-okm\node_modules\gulp-image-resize\node_modules\gulp-gm\node_modules\gm\lib\getters.js:70:16)
at Socket.cb (C:\_projects\zench-okm\node_modules\gulp-image-resize\node_modules\gulp-gm\node_modules\gm\lib\command.js:318:16)
at Socket.g (events.js:260:16)
at emitOne (events.js:77:13)
at Socket.emit (events.js:169:7)
at onwriteError (_stream_writable.js:304:10)
Updating npm couldn't solve it.
Hello. Same for me. Edit. No, it was a mistake: I did not load the imagemagick and graphicsmagick library. Thank you
I also facing same problem using 'gulp-image' showing error Unhandled promise rejection (rejection id: 2): Error in plugin 'gulp-image'
Hello!
I'm getting another EPIPE error with both
gulp-image-resize
andgulp-gm
. Console output is a little different from https://github.com/scalableminds/gulp-gm/issues/8, so I'm opening a new issue. Here it goes:The weird thing is that the plugin worked as expected untill yesterday. The only events that, I think, could affect the plugin was:
1) I ran
npm install
to check my NPM setup before project deployment. 2) I installed some missing Homebrew dependency because ofbrew doctor
output.libxml
it was?Any thoughts? Thank you!