claude-code - 💡(How to fix) Fix [BUG] Claude Code v2.1.144 silently exits immediately on launch when bubblewrap/socat are missing [1 pull requests]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…

Error Message

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 (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)

Fix Action

Fixed

Code Example

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"
RAW_BUFFERClick to expand / collapse

Preflight Checklist

  • I have searched existing issues and this hasn't been reported yet
  • This is a single bug report (please file separate reports for different bugs)
  • 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:

  1. Fresh WSL2 Ubuntu environment without bubblewrap and socat installed (in VS Code)
  2. Install Claude Code: npm install -g @anthropic-ai/claude-code
  3. Run claude in any directory
  4. 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

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

claude-code - 💡(How to fix) Fix [BUG] Claude Code v2.1.144 silently exits immediately on launch when bubblewrap/socat are missing [1 pull requests]