Error: write EPIPE with node.js and imagemagick
I was getting this same error and discovered this issue:
https://github.com/aheckmann/gm/issues/209
You may need both imagemagick and graphicsmagick installed. That solved my issue.
Make sure both imagemagick and graphicsmagick are installed on your machine.
To install graphicsmagick on ubuntu,
$ sudo add-apt-repository ppa:dhor/myway$ sudo apt-get update$ sudo apt-get install graphicsmagick