[Bug] CLI hangs after task completion requiring escape to recover

Resolved 💬 3 comments Opened Jan 25, 2026 by lksrz Closed Jan 29, 2026

Bug Description
After Claude finishes some task it hangs e.g.:\
Baked for 6m
✳ Nesting… (esc to interrupt · 20m 34s · ↓ 0 tokens)\
\
and keeps in this state, after providing new prompt+enter it keeps hanged. I must click Escape, provide new prompt and then it works. OSX in multiple terminals.

Environment Info

  • Platform: darwin
  • Terminal: cursor
  • Version: 2.1.15
  • Feedback ID: 67f04ea4-1da2-40ab-ad1c-7039efb1d8f9

Errors

[{"error":"Error: ENOENT: no such file or directory, scandir '/Library/Application Support/ClaudeCode/.claude/skills'\n    at readdirSync (unknown)\n    at <anonymous> (/$bunfs/root/claude:12:1903)\n    at AW (/$bunfs/root/claude:11:34882)\n    at readdirSync (/$bunfs/root/claude:12:1864)\n    at hGR (/$bunfs/root/claude:1482:380)\n    at hGR (/$bunfs/root/claude:1482:1350)\n    at <anonymous> (/$bunfs/root/claude:1482:4440)\n    at <anonymous> (/$bunfs/root/claude:1482:5171)\n    at A (/$bunfs/root/claude:11:7245)\n    at iq8 (/$bunfs/root/claude:4125:4342)\n    at async <anonymous> (/$bunfs/root/claude:5413:2332)","timestamp":"2026-01-25T09:02:52.778Z"},{"error":"Error: ENOENT: no such file or directory, scandir '/Users/lukasz/.claude/skills'\n    at readdirSync (unknown)\n    at <anonymous> (/$bunfs/root/claude:12:1903)\n    at AW (/$bunfs/root/claude:11:34882)\n    at readdirSync (/$bunfs/root/claude:12:1864)\n    at hGR (/$bunfs/root/claude:1482:380)\n    at hGR (/$bunfs/root/claude:1482:1350)\n    at <anonymous> (/$bunfs/root/claude:1482:4483)\n    at <anonymous> (/$bunfs/root/claude:1482:5171)\n    at A (/$bunfs/root/claude:11:7245)\n    at iq8 (/$bunfs/root/claude:4125:4342)\n    at async <anonymous> (/$bunfs/root/claude:5413:2332)","timestamp":"2026-01-25T09:02:52.778Z"},{"error":"Error: NON-FATAL: Lock acquisition failed for /Users/lukasz/.local/share/claude/versions/2.1.15 (expected in multi-process scenarios)\n    at eZR (/$bunfs/root/claude:3243:2091)\n    at cFA (/$bunfs/root/claude:3243:1202)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-01-25T09:02:52.826Z"},{"error":"Error: 1: Command failed with ERR_STREAM_PREMATURE_CLOSE: cursor --force --install-extension anthropic.claude-code\nPremature close \n    at MG7 (/$bunfs/root/claude:1060:4019)\n    at async kG7 (/$bunfs/root/claude:1060:1623)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-01-25T09:02:54.586Z"},{"error":"Error: Request was aborted.\n    at FIR (/$bunfs/root/claude:2292:44944)\n    at agB (/$bunfs/root/claude:4421:1532)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-01-25T09:17:28.185Z"}]

View original on GitHub ↗

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