Closed amyboyd closed 10 years ago
This issue is invalid, and is not a problem with Webshot.
The problem was in our own JS file, we were doing some transformation with Node's ImageMagick library. ImageMagick wasn't installed on the system. :( We saw the error and could only think it was Webshot dying when creating the Phantom child process.
My config contains this:
When I run
node path/to/node/ThumbnailWorker.js
, this error is thrown:The command that Webshot is trying to run through
child_process.spawn
is this:That command ran manually in the terminal correctly prints out the image data.
I've tried changing Webshot to use
child_process.exec
, running as sudo, and lots of other things, but I can't get this to run. :( It runs fine withoutphantomConfig
.Any ideas?