[Bug] Claude Code session hangs requiring terminal restart and /resume
Status Closed — not planned
Maintainer reply None cached
Activity 11 comments · opened Dec 6, 2025 · closed Feb 11, 2026
Bug Description
Claude got stuck in that sessions several times. Had to restart the terminal and /resume the coversation and say "continue" - happend 3-4 times.
Environment Info
- Platform: win32
- Terminal: cursor
- Version: 2.0.60
- Feedback ID: 1ad3cdf8-9580-49d4-8e3d-89f61b1b40b0
Errors
[{"error":"JJ2: Diagnostics file path mismatch: expected C:\\Code\\LinkdinChromeAddonGPT5\\client\\src\\services\\userPlan.ts, got file://c:\\code\\linkdinchromeaddongpt5\\client\\src\\services\\userplan.ts/)\n at xj.beforeFileEdited (file:///C:/Users/asaf/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:1679:2049)\n at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n at async Object.call (file:///C:/Users/asaf/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:2129:638)\n at async fx7 (file:///C:/Users/asaf/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:3094:16949)","timestamp":"2025-12-06T20:14:44.901Z"},{"error":"JJ2: Diagnostics file path mismatch: expected C:\\Code\\LinkdinChromeAddonGPT5\\server\\src\\routes\\checkout.ts, got file://c:\\code\\linkdinchromeaddongpt5\\server\\src\\routes\\checkout.ts/)\n at xj.beforeFileEdited (file:///C:/Users/asaf/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:1679:2049)\n at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n at async Object.call (file:///C:/Users/asaf/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:2129:638)\n at async fx7 (file:///C:/Users/asaf/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:3094:16949)","timestamp":"2025-12-06T20:15:04.879Z"},{"error":"JJ2: Diagnostics file path mismatch: expected C:\\Code\\LinkdinChromeAddonGPT5\\server\\src\\routes\\admin.ts, got file://c:\\code\\linkdinchromeaddongpt5\\server\\src\\routes\\admin.ts/)\n at xj.beforeFileEdited (file:///C:/Users/asaf/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:1679:2049)\n at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n at async Object.call (file:///C:/Users/asaf/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:2129:638)\n at async fx7 (file:///C:/Users/asaf/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:3094:16949)","timestamp":"2025-12-06T20:16:54.074Z"},{"error":"JJ2: Diagnostics file path mismatch: expected C:\\Code\\LinkdinChromeAddonGPT5\\server\\src\\routes\\admin.ts, got file://c:\\code\\linkdinchromeaddongpt5\\server\\src\\routes\\admin.ts/)\n at xj.beforeFileEdited (file:///C:/Users/asaf/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:1679:2049)\n at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n at async Object.call (file:///C:/Users/asaf/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:2129:638)\n at async fx7 (file:///C:/Users/asaf/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:3094:16949)","timestamp":"2025-12-06T20:17:02.424Z"},{"error":"JJ2: Diagnostics file path mismatch: expected C:\\Code\\LinkdinChromeAddonGPT5\\server\\src\\routes\\admin.ts, got file://c:\\code\\linkdinchromeaddongpt5\\server\\src\\routes\\admin.ts/)\n at xj.beforeFileEdited (file:///C:/Users/asaf/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:1679:2049)\n at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n at async Object.call (file:///C:/Users/asaf/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:2129:638)\n at async fx7 (file:///C:/Users/asaf/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:3094:16949)","timestamp":"2025-12-06T20:17:11.356Z"}]
11 Comments
Found 3 possible duplicate issues:
This issue will be automatically closed as a duplicate in 3 days.
🤖 Generated with Claude Code
I'm having a similar issue now. It hangs all the time, but even restarting does not help. If I type continue I just see that word jump up to new last line
this happens every few minutes now. The sessions just freeze and nothing works
yes, this is happening to me as well
also am seeing the agent trying to perform an action (like this
∴ Thought for 1s (ctrl+o to show thinking)
✳ Architecting… (esc to interrupt · 1m 55s · ↓ 243 tokens)
but getting stuck at this token number for hours
I noticed this happens when I have multiple Claude Code terminals active. Older ones hang when newer terminal starts
Yes, currently only serial processing is possible
I'm seeing this as well
+1, also seeing this on MacOS when running more than one claude code cli session anywhere, same behavior has repeated for versions range fro 2.0.59 to 2.0.67. Some previous iterations of reports of this issue have been closed in error due to a developer erroneously reporting that the fix would be solved by upgrading to version 2.062 but without validating the fix with anyone who reported the issue.
This issue has been inactive for 30 days. If the issue is still occurring, please comment to let us know. Otherwise, this issue will be automatically closed in 30 days for housekeeping purposes.
This issue has been automatically closed due to 60 days of inactivity. If you're still experiencing this issue, please open a new issue with updated information.
This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.