[BUG] Chrome native host crashes with Bun panic when creating named pipe.

Resolved 💬 4 comments Opened Feb 1, 2026 by qzark-com Closed Feb 5, 2026

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?

Environment:

  • Claude Code: 2.1.29
  • OS: Windows 11 (22631.6199)
  • Bun: 1.3.5

Issue:
Chrome native host crashes with Bun panic when creating named pipe.

Reproduction:
Run: claude.exe --chrome-native-host

Error:
[Claude Chrome Native Host] Creating socket listener: \\.\pipe\claude-mcp-browser-bridge-Ankit
panic(main thread): Internal assertion failure

Crash report:
https://bun.report/1.3.5/e_11e86cebEugggC++08F+mvBoxhkf0389e__0shkwCA0eNrzzCtJLcpLzFFILC5OLSrJzM9TSEvMzCktSgUAiSkKPg

What Should Happen?

The native messaging host should start successfully and create a named pipe
at \\.\pipe\claude-mcp-browser-bridge-<username> to enable communication
between Claude Code CLI and the Chrome extension.

Expected output:
[Claude Chrome Native Host] Initializing...
[Claude Chrome Native Host] Creating socket listener: \\.\pipe\claude-mcp-browser-bridge-<username>
[Claude Chrome Native Host] Ready and listening for connections

The Chrome extension should then be able to connect, allowing browser
automation features (navigate, click, screenshot, etc.) to work.

Error Messages/Logs

Steps to Reproduce

  1. Install Claude Code CLI via npm: npm install -g @anthropic-ai/claude-code 2. Install Claude browser extension from Chrome Web Store
  2. Open Chrome and ensure the extension is active
  3. Start Claude Code CLI: claude
  4. Run /mcp to connect to Chrome
  5. Attempt any browser automation (e.g., navigate to a URL)

Or directly test the native host:

  1. Open Command Prompt
  2. Run: "C:\Users\<username>\.local\bin\claude.exe" --chrome-native-host
  3. Observe the Bun panic crash

Claude Model

Opus

Is this a regression?

Yes, this worked in a previous version

Last Working Version

_No response_

Claude Code Version

2.1.29

Platform

Anthropic API

Operating System

Windows

Terminal/Shell

VS Code integrated terminal

Additional Information

_No response_

View original on GitHub ↗

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