Edit Image node not working

Hi, congrats for the very good work !

Describe the problem/error/question

I am executing other similar workflows (without Edit Node) and they run ok so directory/file permissions should not be the cause Have read that graphicsmagik node might be missing so installed it with “npm install gm -g” as far as “npm install graphicsmagik -g” is not possible due to deprecated dependency. Still same error. Any help would be very much appreciatted.

What is the error message (if any)?

Error: Stream yields empty buffer
    at Socket.<anonymous> (/usr/lib/node_modules/n8n/node_modules/gm/lib/command.js:56:21)
    at Socket.emit (node:events:526:35)
    at Socket.emit (node:domain:489:12)
    at endReadableNT (node:internal/streams/readable:1359:12)
    at processTicksAndRejections (node:internal/process/task_queues:82:21)

Please share your workflow

Share the output returned by the last node

Information on your n8n setup

  • **n8n version: 1.34.2
  • **Database (default: SQLite): default
  • **n8n EXECUTIONS_PROCESS setting (default: own, main): main
  • **Running n8n via (Docker, npm, n8n cloud, desktop app): npm
  • **Operating system: Ubuntu 20

Hey @galop,

Welcome to the community :tada:

Do you have graphicsmagik installed in Ubuntu as an OS package? It isn’t a default package on Ubuntu Server so you may need to run sudo apt install graphicsmagick to install it first.

We recommend using the Docker version as we take care of this in the container.

Hi @Jon ! your solution worked perfectly, thank you very much !

1 Like

Perfect that is good to hear.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.