[Bug] Claude Code hangs during task execution causing excessive token reuse on resume

Resolved 💬 3 comments Opened May 1, 2026 by apudiu Closed Jun 1, 2026

Bug Description
Claude code getting stuck. It happened several times now. while it is working for several minutes, it just gets struck. In current tasks last phase, it planned to update progress.md but it thoght for almost 3m & then stuck again! this is causing lots of token usage as it re-checks the codebase for current state when I manually resume the task again (by double esc & restore plan+code)

Environment Info

  • Platform: linux
  • Terminal: WarpTerminal
  • Version: 2.1.126
  • Feedback ID: d17dffa1-10bc-48d6-a131-8b5abf60ccdf

Errors

[{"error":"Error: EISDIR: illegal operation on a directory, read '/mnt/work/Projects/wickmeet/apps/web/src/app'\n    at BYH (/$bunfs/root/src/entrypoints/cli.js:1710:144)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-01T10:56:57.045Z"},{"error":"Error: File does not exist. Note: your current working directory is /mnt/work/Projects/wickmeet.\n    at call (/$bunfs/root/src/entrypoints/cli.js:4868:11399)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-01T10:56:58.442Z"},{"error":"Error: File does not exist. Note: your current working directory is /mnt/work/Projects/wickmeet.\n    at call (/$bunfs/root/src/entrypoints/cli.js:4868:11399)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-01T10:57:05.007Z"},{"error":"Error: File does not exist. Note: your current working directory is /mnt/work/Projects/wickmeet.\n    at call (/$bunfs/root/src/entrypoints/cli.js:4868:11399)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-01T10:57:12.754Z"},{"error":"Error: 400 {\"type\":\"error\",\"error\":{\"type\":\"invalid_request_error\",\"message\":\"messages.111: `tool_use` ids were found without `tool_result` blocks immediately after: toolu_01Te5AtCHTjJ2bFHZBT4e2ju. Each `tool_use` block must have a corresponding `tool_result` block in the next message.\"},\"request_id\":\"req_011CabkkDsWSEjiLYw5AsF21\"}\n    at generate (/$bunfs/root/src/entrypoints/cli.js:11:57082)\n    at makeRequest (/$bunfs/root/src/entrypoints/cli.js:50:4943)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-01T11:16:59.182Z"},{"error":"Error: 400 {\"type\":\"error\",\"error\":{\"type\":\"invalid_request_error\",\"message\":\"messages.111: `tool_use` ids were found without `tool_result` blocks immediately after: toolu_01Te5AtCHTjJ2bFHZBT4e2ju. Each `tool_use` block must have a corresponding `tool_result` block in the next message.\"},\"request_id\":\"req_011CabkkFqKvZ8FnaNnZPRu3\"}\n    at generate (/$bunfs/root/src/entrypoints/cli.js:11:57082)\n    at makeRequest (/$bunfs/root/src/entrypoints/cli.js:50:4943)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-01T11:16:59.612Z"},{"error":"Error: EISDIR: illegal operation on a directory, read '/mnt/work/Projects/wickmeet'\n    at BYH (/$bunfs/root/src/entrypoints/cli.js:1710:144)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-01T11:21:47.687Z"},{"error":"Error: EISDIR: illegal operation on a directory, read '/mnt/work/Projects/wickmeet/pkg/db/src'\n    at BYH (/$bunfs/root/src/entrypoints/cli.js:1710:144)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-01T11:21:53.347Z"},{"error":"Error: File does not exist. Note: your current working directory is /mnt/work/Projects/wickmeet/pkg/db. Did you mean errors?\n    at call (/$bunfs/root/src/entrypoints/cli.js:4868:11399)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-01T11:36:52.879Z"},{"error":"Error: File does not exist. Note: your current working directory is /mnt/work/Projects/wickmeet.\n    at call (/$bunfs/root/src/entrypoints/cli.js:4868:11399)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-01T12:11:17.806Z"},{"error":"Error: EISDIR: illegal operation on a directory, read '/mnt/work/Projects/wickmeet/apps/api/src/modules/user'\n    at BYH (/$bunfs/root/src/entrypoints/cli.js:1710:144)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-01T12:15:28.349Z"}]

View original on GitHub ↗

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