[Bug] Claude Code hangs with stagnant token usage until retry

Resolved 💬 3 comments Opened Mar 27, 2026 by 95 Closed Mar 31, 2026

Bug Description
Claude Code keeps hanging. It shows that it's working (time elapses), but token usage stays stagnant and will hang until I retry the request. Frustrating.

For instance:
Finagling… (1m 42s · ↓ 3.0k tokens)

It won't continue. Just stays there, as the time elapses. Predominantly experiencing this on Opus 4.6
Environment Info

  • Platform: darwin
  • Terminal: vscode
  • Version: 2.1.84
  • Feedback ID: de8834b1-51c3-4cd4-8693-7910c15d01f1

Errors

[{"error":"Error: 1: Command failed with ENOENT: code --force --install-extension anthropic.claude-code\nspawn code ENOENT \n    at s5_ (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:2666:4033)\n    at async o5_ (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:2666:1457)","timestamp":"2026-03-26T20:02:56.129Z"},{"error":"McpToolCallError: MCP error -32603: Command execution timed out after 60000ms\n    at BCq (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:2725:108132)\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at async Y$_ (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:2725:105217)\n    at async Object.call (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:2725:125159)\n    at async Mo_ (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:4315:6683)","timestamp":"2026-03-26T20:08:04.287Z"},{"error":"Error: Request was aborted.\n    at VN8 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:2025:8293)\n    at VN8.next (<anonymous>)\n    at AI4 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:7627:7802)\n    at AI4.next (<anonymous>)\n    at _I4 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:7632:10572)\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at async file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:7627:6775\n    at async hC1 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1191:2407)\n    at async Object.Jk6 [as callModel] (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:7627:6745)\n    at async po_ (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:4378:11122)","timestamp":"2026-03-26T20:10:09.362Z"},{"error":"McpToolCallError: MCP error -32603: Error (code 0):\n\nreal\t0m0.250s\nuser\t0m0.041s\nsys\t0m0.011s\n\n    at BCq (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:2725:108132)\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at async Y$_ (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:2725:105217)\n    at async Object.call (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:2725:125159)\n    at async Mo_ (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:4315:6683)","timestamp":"2026-03-26T20:20:12.132Z"},{"error":"Error: Request was aborted.\n    at VN8 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:2025:8293)\n    at VN8.next (<anonymous>)\n    at AI4 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:7627:7802)\n    at AI4.next (<anonymous>)\n    at _I4 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:7632:10572)\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at async file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:7627:6775\n    at async hC1 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1191:2407)\n    at async Object.Jk6 [as callModel] (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:7627:6745)\n    at async po_ (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:4378:11122)","timestamp":"2026-03-26T20:21:00.557Z"},{"error":"McpToolCallError: MCP error -32602: Command is too long (max 1000 characters)\n    at BCq (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:2725:108132)\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at async Y$_ (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:2725:105217)\n    at async Object.call (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:2725:125159)\n    at async Mo_ (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:4315:6683)","timestamp":"2026-03-26T20:27:39.973Z"},{"error":"McpToolCallError: MCP error -32603: Error (code 0):\nbash: line 8: warning: here-document at line 1 delimited by end-of-file (wanted `PYEOF')\n\n    at BCq (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:2725:108132)\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at async Y$_ (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:2725:105217)\n    at async Object.call (file:///opt/homebrew/lib/node_modules/@a…

Note: Content was truncated.

View original on GitHub ↗

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