在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运行
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运行
相关文章推荐
- Delphi使用BDE连接远程MS SQL SERVER 2000数据库时出现“Db-library network communciations layer not loaded.”错误的解决方法
- 使用OleDbCommandBuilder时出现“Insert into 语句的语法错误”的解决方法
- mfc中使用标准库stl出现xdebug、xlocale错误的解决方法
- 使用ExternalInterface.call方法,出现js错误(解决方法)
- 使用OleDbCommandBuilder时出现“Insert into 语句的语法错误”的解决方法
- Delphi使用BDE连接远程MS SQL SERVER 2000数据库时出现“Db-library network communciations layer not loaded.”错误的解决方法
- 使用OleDbCommandBuilder时出现“Insert into 语句的语法错误”的解决方法(转)
- 关于使用ASP.NE 1.1发送电子邮件时出现的 未能访问“CDO.Message”对象 的错误的解决方法
- VB使用Winsock出现 实时错误 '87' 解决方法
- 使用OleDbCommandBuilder时出现“Insert into 语句的语法错误”的解决方法
- 如何解决FormView中实现DropDownList连动选择时出现 "Eval()、XPath() 和 Bind() 这类数据绑定方法只能在数据绑定控件的上下文中使用" 的错误
- 使用OleDbCommandBuilder时出现“Insert into 语句的语法错误”的解决方法
- 使用jfreechart画图时,出现错误 Null 'key' argument的解决方法
- "执行SQL语句时出现问题操作必须使用一个可更新的查询"错误的解决方法
- 执行SQL语句时出现问题操作必须使用一个可更新的查询错误的解决方法
- 使用OleDbCommandBuilder时出现“Insert into 语句的语法错误”的解决方法
- Delphi使用BDE连接远程MS SQL SERVER 2000数据库时出现“Db-library network communciations layer not loaded.”错误的解决方法
- VS使用进程调试出现“没有正确安装调试器。请运行安装程序安装或修复调试器”的错误,解决方法。
- (System)使用windows更新出现0x8DDD0018编号错误的解决方法
- Asp.net中建立MS office组件时出现“拒绝访问”和“消息筛选器显示应用程序正在使用中”错误的解决方法