您的位置:首页 > Web前端 > Node.js

在node中使用GraphicsMagick出现以下错误的解决方法

2017-05-14 22:48 429 查看
"C:\software\WebStorm 11.0.3\bin\runnerw.exe" "C:\Program Files\nodejs\node.exe" 03.js

Error: Could not execute GraphicsMagick/ImageMagick: gm "convert" "./img.jpg" "-resize" "50x50" "./img2.jpg" this most likely means the gm/convert binaries can't be found

    at ChildProcess.<anonymous> (d:\nodeSpace\day6\node_modules\gm\lib\command.js:232:12)

    at emitOne (events.js:96:13)

    at ChildProcess.emit (events.js:188:7)

    at ChildProcess.cp.emit (d:\nodeSpace\day6\node_modules\cross-spawn\lib\enoent.js:36:37)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:215:12)

将程序用控制台运行,不要用webstorm运行
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐