Uncaught Promise Error: Channel Closed Unexpectedly in Claude Code CLI

Resolved 💬 3 comments Opened Jul 1, 2025 by danielcor Closed Aug 20, 2025

Bug Description
No idea why this happened -- This is crashing frequently in this version.

node:internal/process/promises:288
triggerUncaughtException(err, true / fromPromise /);
^

Error: Channel has been closed
at _w2 (file:///home/danie/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:1378:12840)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async fw5 (file:///home/danie/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:1953:11636)
at async F (file:///home/danie/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:1953:10490)

Node.js v18.19.0

Environment Info

  • Platform: linux
  • Terminal: vscode
  • Version: 1.0.38
  • Feedback ID: c0eadf74-2aad-4d5b-83b5-5f4a55d3205c

Errors

[]

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗