n8n - 💡(How to fix) Fix Edit Image Composite still throws "Stream yields empty buffer" on n8n Cloud 2.19.5

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…

Error Message

Describe the problem/error/question

The Edit Image node with operation Composite still fails on n8n Cloud 2.19.5 with the error: However, on my n8n Cloud instance running 2.19.5, the same error is still reproducible.

What is the error message (if any)?

"Error: Stream yields empty buffer",

Fix Action

Fix / Workaround

This matches the regression described in issue #29934 and fixed by PR #30088:

RAW_BUFFERClick to expand / collapse

Describe the problem/error/question

The Edit Image node with operation Composite still fails on n8n Cloud 2.19.5 with the error:

Stream yields empty buffer

This matches the regression described in issue #29934 and fixed by PR #30088:

https://github.com/n8n-io/n8n/pull/30088

The PR summary says it fixes a regression introduced by #28970 where the Edit Image node's Composite operation throws "Stream yields empty buffer" on n8n v2.19.0+, and that the fix materializes the current gm pipeline into a PNG stream before applying the composite operation.

However, on my n8n Cloud instance running 2.19.5, the same error is still reproducible.

What is the error message (if any)?

{
  "errorMessage": "Stream yields empty buffer",
  "errorDetails": {},
  "n8nDetails": {
    "n8nVersion": "2.19.5 (Cloud)",
    "binaryDataMode": "filesystem",
    "stackTrace": [
      "Error: Stream yields empty buffer",
      "    at Socket.<anonymous> (/usr/local/lib/node_modules/n8n/node_modules/.pnpm/[email protected]/node_modules/gm/lib/command.js:56:21)",
      "    at Socket.emit (node:events:520:35)",
      "    at endReadableNT (node:internal/streams/readable:1729:12)",
      "    at processTicksAndRejections (node:internal/process/task_queues:90:21)"
    ]
  }
}

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

n8n - 💡(How to fix) Fix Edit Image Composite still throws "Stream yields empty buffer" on n8n Cloud 2.19.5