Internal error using edit image

I’m having trouble using image editing. It’s giving the following error:

{
“errorMessage”: “Internal error”,
“errorDetails”: {},
“n8nDetails”: {
“n8nVersion”: “1.47.3 (Self Hosted)”,
“binaryDataMode”: “default”,
“stackTrace”: [
“Error: Could not execute GraphicsMagick/ImageMagick: gm "identify" "-ping" "-verbose" "-" this most likely means the gm/convert binaries can’t be found”,
" at ChildProcess. (C:\Users\julia\AppData\Local\npm-cache\_npx\a8a7eec953f1f314\node_modules\gm\lib\command.js:249:12)“,
" at ChildProcess.emit (node:events:519:28)”,
" at ChildProcess.emit (node:domain:488:12)“,
" at ChildProcess.cp.emit (C:\Users\julia\AppData\Local\npm-cache\_npx\a8a7eec953f1f314\node_modules\gm\node_modules\cross-spawn\lib\enoent.js:36:37)”,
" at Process.ChildProcess._handle.onexit (node:internal/child_process:294:12)"
]
}
}

I’m using my own hosting on my computer (localhost).

Can anyone tell me what I need to install on my machine?

{
  "meta": {
    "instanceId": "2751a1ada7b396e3cb517929ee6f727f69b3b022c1c950c3fc4be0b9080a7e6d"
  },
  "nodes": [],
  "connections": {},
  "pinData": {}
}

## Information on your n8n setup
- n8n version: 1.47.3 (Self Hosted)
- Database (default: SQLite): SQLite
- n8n EXECUTIONS_PROCESS setting (default: own, main): own
- Running n8n via (Docker, npm, n8n cloud, desktop app): localhost
- Operating system: windows 11

Hey @Juliano_Cesconetto,

I would recommend taking the docker approach as it includes everything you need but in this case you are missing GraphicsMagick and would need to install it and make sure it can be used when running gm from the command line.

thank you very much for your reply :slight_smile:

1 Like