-
Notifications
You must be signed in to change notification settings - Fork 24
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
Not working on windows with installed Imagemagick #8
Comments
Fixed by updating PATH to use convert command from any folder |
Would be nice if there could be a proper error message if the additional dependency couldn't be loaded. Or just warn and route to the uncompressed image. |
Hi @gerbil Can you help me how to set up the PATH that you have mentioned? |
@jeromemiranda Follow this page and add imagemagick folder path : http://www.computerhope.com/issues/ch000549.htm |
Fixed the issue by uninstalling imagemagick then re-installing it with the option "legacy component" selected. It will include convert.exe, the missing binary in the default install: |
Command:
node make-thumb.js public/images/ /tmp/ 200x200 -p -r
Response:
Converting to 200 x 200
events.js:72
throw er; // Unhandled 'error' event
^
Error: spawn ENOENT
at errnoException (child_process.js:1001:11)
at Process.ChildProcess._handle.onexit (child_process.js:792:34)
The text was updated successfully, but these errors were encountered: