[BUG] Claude Code v2.1.144 silently exits immediately on launch when bubblewrap/socat are missing
Preflight Checklist
- [x] I have searched existing issues and this hasn't been reported yet
- [x] This is a single bug report (please file separate reports for different bugs)
- [x] I am using the latest version of Claude Code
What's Wrong?
On launch in VS Code, Claude Code renders its UI briefly (banner, prompt box, status line), then immediately exits back to the shell prompt without displaying any error, warning, or diagnostic message. Behavior is identical to typing /exit right after launch.
error log (all i see is this) : ^[P>|xterm.js(6.1.0-beta.213)^[\^[[?1;2c
<img width="1551" height="312" alt="Image" src="https://github.com/user-attachments/assets/69e62d98-c088-4e58-8588-f019bec732d3" />
What Should Happen?
Either
(a) Claude Code starts and remains interactive, or
(b) it prints a clear error explaining that bubblewrap and socat are required dependencies for sandboxing and must be installed.
Error Messages/Logs
Silent exit with no error message. The user has no way to know what went wrong. But all i see is this (as you can see in the screenshot i attached above)
"^[P>|xterm.js(6.1.0-beta.213)^[\^[[?1;2c"
Steps to Reproduce
Steps to reproduce:
- Fresh WSL2 Ubuntu environment without bubblewrap and socat installed (in VS Code)
- Install Claude Code: npm install -g @anthropic-ai/claude-code
- Run claude in any directory
- UI appears, then immediately exits
Claude Model
Sonnet (default)
Is this a regression?
Yes, this worked in a previous version
Last Working Version
_No response_
Claude Code Version
v2.1.146
Platform
Anthropic API
Operating System
Windows
Terminal/Shell
VS Code integrated terminal
Additional Information
_No response_
This issue has 4 comments on GitHub. Read the full discussion on GitHub ↗