Claude Code spontaneously quits with bun errors: concurrency issue?
Resolved 💬 3 comments Opened Feb 6, 2026 by yulonglin Closed Mar 6, 2026
Bug Description
Claude Code spontaneously quits with bun errors
Started frequently getting the issue on 2.1.32 (definitely not on 2.1.30 and before)
Environment Info
- Platform: darwin
- Terminal: ghostty
- Version: 2.1.32
- Feedback ID: 854bed79-ffaa-45ed-a96b-5dd58652ca52
Errors
[{"error":"Error: NON-FATAL: Lock acquisition failed for /Users/yulong/.local/share/claude/versions/2.1.32 (expected in multi-process scenarios)\n at CFR (/$bunfs/root/claude:3667:2098)\n at KkA (/$bunfs/root/claude:3667:1209)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-02-06T01:30:50.413Z"},{"error":"Error: LSP server plugin:pyright-lsp:pyright failed to start: Executable not found in $PATH: \"pyright-langserver\"\n at start (/$bunfs/root/claude:2190:22315)\n at async H (/$bunfs/root/claude:2190:24763)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-02-06T01:30:51.523Z"},{"error":"Error: Executable not found in $PATH: \"pyright-langserver\"\n at spawn (unknown)\n at spawn (node:child_process:667:35)\n at spawn (node:child_process:14:39)\n at start (/$bunfs/root/claude:2190:20845)\n at start (/$bunfs/root/claude:2190:22369)\n at H (/$bunfs/root/claude:2190:24763)\n at H (/$bunfs/root/claude:2190:25738)\n at _ (/$bunfs/root/claude:2190:32525)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-02-06T01:30:51.523Z"},{"error":"Error: Failed to start LSP server plugin:pyright-lsp:pyright: Executable not found in $PATH: \"pyright-langserver\"\n at <anonymous> (/$bunfs/root/claude:2190:32547)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-02-06T01:30:51.523Z"},{"error":"Error: getTeammateModeFromSnapshot called before capture - this indicates an initialization bug\n at vxT (/$bunfs/root/claude:1885:9052)\n at fe7 (/$bunfs/root/claude:1902:190)\n at bS (/$bunfs/root/claude:1902:308)\n at <anonymous> (/$bunfs/root/claude:7308:88)\n at useMemo (/$bunfs/root/claude:685:102979)\n at <anonymous> (/$bunfs/root/claude:191:8939)\n at tf8 (/$bunfs/root/claude:7308:59)\n at R$ (/$bunfs/root/claude:685:20775)\n at V6 (/$bunfs/root/claude:685:39175)\n at YT (/$bunfs/root/claude:685:36558)","timestamp":"2026-02-06T01:30:52.241Z"}]
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗