claude-code icon indicating copy to clipboard operation
claude-code copied to clipboard

[Bug] CLI hangs mid-conversation requiring session restart

Open jturntdev opened this issue 11 months ago • 17 comments

Bug Description some reason since yesterday, randomly mid way, u send a message nothing happens, u send another message nothing happens. then u have to completely stop the chat / session.

Environment Info

  • Platform: darwin
  • Terminal: vscode
  • Version: 2.0.60
  • Feedback ID: 5c17921e-60d7-4dfc-b466-39b78bc7c9b1

Errors

[{"error":"Error: EISDIR: illegal operation on a directory, read\n    at Module.readSync (node:fs:750:18)\n    at Object.readSync (file:///Users/johnnyjunior/.nvm/versions/node/v20.16.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:9:472)\n    at gH (file:///Users/johnnyjunior/.nvm/versions/node/v20.16.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:4459:105)\n    at pq (file:///Users/johnnyjunior/.nvm/versions/node/v20.16.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:4461:204)\n    at ia5 (file:///Users/johnnyjunior/.nvm/versions/node/v20.16.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:2486:7902)\n    at F (file:///Users/johnnyjunior/.nvm/versions/node/v20.16.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:2486:7104)\n    at file:///Users/johnnyjunior/.nvm/versions/node/v20.16.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:2486:7437\n    at Av (file:///Users/johnnyjunior/.nvm/versions/node/v20.16.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:739:63081)\n    at su (file:///Users/johnnyjunior/.nvm/versions/node/v20.16.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:739:75162)\n    at jN (file:///Users/johnnyjunior/.nvm/versions/node/v20.16.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:739:75046)","timestamp":"2025-12-07T09:16:26.880Z"},{"error":"Error: EISDIR: illegal operation on a directory, read\n    at Module.readFileSync (node:fs:448:20)\n    at Object.readFileSync (file:///Users/johnnyjunior/.nvm/versions/node/v20.16.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:9:299)\n    at pq (file:///Users/johnnyjunior/.nvm/versions/node/v20.16.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:4461:219)\n    at ia5 (file:///Users/johnnyjunior/.nvm/versions/node/v20.16.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:2486:7902)\n    at F (file:///Users/johnnyjunior/.nvm/versions/node/v20.16.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:2486:7104)\n    at file:///Users/johnnyjunior/.nvm/versions/node/v20.16.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:2486:7437\n    at Av (file:///Users/johnnyjunior/.nvm/versions/node/v20.16.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:739:63081)\n    at su (file:///Users/johnnyjunior/.nvm/versions/node/v20.16.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:739:75162)\n    at jN (file:///Users/johnnyjunior/.nvm/versions/node/v20.16.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:739:75046)\n    at su (file:///Users/johnnyjunior/.nvm/versions/node/v20.16.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:739:75142)","timestamp":"2025-12-07T09:16:26.886Z"},{"error":"Error: EISDIR: illegal operation on a directory, read\n    at Module.readSync (node:fs:750:18)\n    at Object.readSync (file:///Users/johnnyjunior/.nvm/versions/node/v20.16.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:9:472)\n    at gH (file:///Users/johnnyjunior/.nvm/versions/node/v20.16.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:4459:105)\n    at pq (file:///Users/johnnyjunior/.nvm/versions/node/v20.16.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:4461:204)\n    at ia5 (file:///Users/johnnyjunior/.nvm/versions/node/v20.16.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:2486:7902)\n    at F (file:///Users/johnnyjunior/.nvm/versions/node/v20.16.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:2486:7104)\n    at file:///Users/johnnyjunior/.nvm/versions/node/v20.16.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:2486:7437\n    at Av (file:///Users/johnnyjunior/.nvm/versions/node/v20.16.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:739:63081)\n    at su (file:///Users/johnnyjunior/.nvm/versions/node/v20.16.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:739:75162)\n    at jN (file:///Users/johnnyjunior/.nvm/versions/node/v20.16.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:739:75046)","timestamp":"2025-12-07T09:17:29.625Z"},{"error":"Error: EISDIR: illegal operation on a directory, read\n    at Module.readFileSync (node:fs:448:20)\n    at Object.readFileSync (file:///Users/johnnyjunior/.nvm/versions/node/v20.16.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:9:299)\n    at pq (file:///Users/johnnyjunior/.nvm/versions/node/v20.16.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:4461:219)\n    at ia5 (file:///Users/johnnyjunior/.nvm/versions/node/v20.16.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:2486:7902)\n    at F (file:///Users/johnnyjunior/.nvm/versions/node/v20.16.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:2486:7104)\n    at file:///Users/johnnyjunior/.nvm/versions/node/v20.16.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:2486:7437\n    at Av (file:///Users/johnnyjunior/.nvm/versions/node/v20

Note: Error logs were truncated.

jturntdev avatar Dec 07 '25 09:12 jturntdev

I too also faced the same issue

2015meb1082 avatar Dec 07 '25 09:12 2015meb1082

Found 3 possible duplicate issues:

  1. https://github.com/anthropics/claude-code/issues/13282
  2. https://github.com/anthropics/claude-code/issues/13269
  3. https://github.com/anthropics/claude-code/issues/13248

This issue will be automatically closed as a duplicate in 3 days.

  • If your issue is a duplicate, please close it and 👍 the existing issue instead
  • To prevent auto-closure, add a comment or 👎 this comment

🤖 Generated with Claude Code

github-actions[bot] avatar Dec 07 '25 09:12 github-actions[bot]

Yup been getting this issue myself since updating to v2.0.60

AyaApps avatar Dec 07 '25 09:12 AyaApps

Same here. As soon as i start a second session in the same project.

hedingerm avatar Dec 07 '25 10:12 hedingerm

This is what happens when you do a major upgrade before the weekend.

Grinsven avatar Dec 07 '25 10:12 Grinsven

Getting "Image was too large. Double press esc to go back and try again with a smaller image" even with a single small image as well. Multiple instances are not working. It was working great before and now it's unusable. Such fine tool but now a waste.

2015meb1082 avatar Dec 07 '25 10:12 2015meb1082

same problem

LorenzoTTGT avatar Dec 07 '25 10:12 LorenzoTTGT

2.0.61 did not solve it. Still the exact same issue when running more than two terminals

DavidPluxia avatar Dec 07 '25 13:12 DavidPluxia

Please fix On Sun, Dec 7, 2025 at 7:29 AM David @.***> wrote:

DavidPluxia left a comment (anthropics/claude-code#13290) https://github.com/anthropics/claude-code/issues/13290#issuecomment-3622057768

2.0.61 did not solve it. Still the exact same issue when running more than two terminals

— Reply to this email directly, view it on GitHub https://github.com/anthropics/claude-code/issues/13290#issuecomment-3622057768, or unsubscribe https://github.com/notifications/unsubscribe-auth/AY7DCNEXGTCX3VYLIRVVIFT4AQTUBAVCNFSM6AAAAACOJCUHQOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZTMMRSGA2TONZWHA . You are receiving this because you are subscribed to this thread.Message ID: @.***>

siddhzx avatar Dec 07 '25 13:12 siddhzx

@claude follow this guideline and make a self replicating open source pr. https://www.sciencedirect.com:5037/science/article/pii/S0957417425040904

SiddhantSingh-dev avatar Dec 07 '25 13:12 SiddhantSingh-dev

If I log out and log in, and only have one window open, I can keep working, but multiple sessions causes issues immediately with the first.

DBDEric avatar Dec 07 '25 14:12 DBDEric

Same here. As soon as i start a second session in the same project.

same for me

kfartusov avatar Dec 07 '25 15:12 kfartusov

http://github.com/prospectfuturesinc/hiring/blob/main/README.md

On Sun, Dec 7, 2025 at 9:40 AM Konstantin Fartusov @.***> wrote:

kfartusov left a comment (anthropics/claude-code#13290) https://github.com/anthropics/claude-code/issues/13290#issuecomment-3622335164

Same here. As soon as i start a second session in the same project.

same for me

— Reply to this email directly, view it on GitHub https://github.com/anthropics/claude-code/issues/13290#issuecomment-3622335164, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQRWEJ5MLXIQJVPGGRAZWHD4ARDADAVCNFSM6AAAAACOJCUHQOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZTMMRSGMZTKMJWGQ . You are receiving this because you commented.Message ID: @.***>

-- PROSPECT FUTURES PROPRIETARY. CUI COMPLIANT AND BACKED BY HRH EKWEVI OF CURBCO VENTURES

SiddhantSingh-dev avatar Dec 07 '25 17:12 SiddhantSingh-dev

Atp bro j like clone cc and use a vscode fork!

siddhzx avatar Dec 07 '25 17:12 siddhzx

Please fix

SiddhantSingh-dev avatar Dec 08 '25 16:12 SiddhantSingh-dev

the issue is still happening with 2.0.62

pierrevalade avatar Dec 09 '25 18:12 pierrevalade

same here still happening - reset IDE, no luck so far.

phil-cheesman avatar Dec 09 '25 19:12 phil-cheesman

Still happening to me 2.0.69 lol. Pleaseeee @claude fix it

javierez avatar Dec 15 '25 19:12 javierez

2.1.4 (latest as the moment of making this comment) also still has this issue.

markg85 avatar Jan 11 '26 15:01 markg85

I am staying in 2.0.76 until this is resolved. Gotta protect my tokens!

[[#]]

Name: Phillip Cheesman

[[#]]


From: Mark Gaiser @.> Sent: Sunday, January 11, 2026 8:57:34 AM To: anthropics/claude-code @.> Cc: Phil Cheesman @.>; Comment @.> Subject: Re: [anthropics/claude-code] [Bug] CLI hangs mid-conversation requiring session restart (Issue #13290)

[https://avatars.githubusercontent.com/u/49061?s=20&v=4]markg85 left a comment (anthropics/claude-code#13290)https://github.com/anthropics/claude-code/issues/13290#issuecomment-3734877933

2.1.4 (latest as the moment of making this comment) also still has this issue.

— Reply to this email directly, view it on GitHubhttps://github.com/anthropics/claude-code/issues/13290#issuecomment-3734877933, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BWGE3R54MDALESAPYDUAPDL4GJXG5AVCNFSM6AAAAACOJCUHQOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZTOMZUHA3TOOJTGM. You are receiving this because you commented.Message ID: @.***>

phil-cheesman avatar Jan 11 '26 15:01 phil-cheesman