spawn ENOENT error

[亡魂溺海] 提交于 2019-12-23 07:27:14

问题


I'm trying to upload stuff to amazon s3 with the imager module. I keep getting the error message that says,

events.js:72
    throw er; // Unhandled 'error' event
              ^
Error: spawn ENOENT
    at errnoException (child_process.js:980:11)
    at Process.ChildProcess._handle.onexit (child_process.js:771:34)

I've already installed imagemagick on my computer, but it keeps saying it's unlinked, could this be the problem? I also tried linking using brew link imagemagick, but it's unable to link for some reason. I'm using OSx. Any fixes?

Thanks.


回答1:


Please make sure the ImageMagick exe is included as part of PATH environment variable.




回答2:


Simply works on Ubuntu:

sudo apt-get install imagemagick


来源:https://stackoverflow.com/questions/17951133/spawn-enoent-error

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!