Uncaught Channel Closed Error in Promise Handling

Resolved 💬 4 comments Opened Jul 16, 2025 by ayman-93 Closed Nov 30, 2025

Bug Description
node:internal/process/promises:394
triggerUncaughtException(err, true / fromPromise /);
^

Error: Channel has been closed
at Kc2 (file:///home/ayman/.nvm/versions/node/v22.11.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:1248:14641)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
at async pD4 (file:///home/ayman/.nvm/versions/node/v22.11.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:2611:11207)
at async J (file:///home/ayman/.nvm/versions/node/v22.11.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:2611:9917)

Node.js v22.11.0

Environment Info

  • Platform: linux
  • Terminal: vscode
  • Version: 1.0.53
  • Feedback ID: 2664c8cf-babc-4fc3-9d15-f1582bd21dc2

Errors

[{"error":"Error: 1: 1 \n    at Lq6 (file:///home/ayman/.nvm/versions/node/v22.11.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:1208:5219)\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at async qq6 (file:///home/ayman/.nvm/versions/node/v22.11.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:1208:2582)","timestamp":"2025-07-16T00:02:08.076Z"}]

View original on GitHub ↗

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