Unhandled "Channel has been closed" Error in Claude Code CLI
Bug Description
this is really annoying as it breaks in the middle of making changes, and now I have to figure out how to tellit to do the right thing....
I don't know what triggers this issue... it happens in the middle of it making changes.
node:internal/process/promises:394
triggerUncaughtException(err, true / fromPromise /);
^
Error: Channel has been closed
at UN2 (file:///home/danie/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:1372:13682)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
at async oL6 (file:///home/danie/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:1948:11756)
at async J (file:///home/danie/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:1948:10610)
Node.js v22.17.0
Environment Info
- Platform: linux
- Terminal: vscode
- Version: 1.0.44
- Feedback ID: 81e90d91-7fad-47b2-9a07-5594194764e4
Errors
[]This issue has 5 comments on GitHub. Read the full discussion on GitHub ↗