[BUG] Chrome Native Host crashes with Bun panic on Windows

Resolved 💬 2 comments Opened Feb 4, 2026 by roshantu Closed Mar 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?

Bug Description

The Chrome Native Messaging Host crashes with a Bun runtime panic when trying to connect the Claude browser extension to Claude Code CLI on Windows.

## Environment

  • Claude Code version: 2.1.31
  • OS: Windows x64
  • Bun version: 1.3.5

## Steps to Reproduce

  1. Install Claude Code CLI (v2.1.31)
  2. Install Claude browser extension from https://claude.ai/chrome
  3. Run the native host manually:

```powershell
& "C:\Users\Administrator\.claude\chrome\chrome-native-host.bat"

Error Output

[Claude Chrome Native Host] Initializing...
[Claude Chrome Native Host] Creating socket listener: \\.\pipe\claude-mcp-browser-bridge-Administrator
Bun v1.3.5 (1e86cebd) Windows x64 (baseline)

panic(main thread): Internal assertion failure
oh no: Bun has crashed. This indicates a bug in Bun, not your code.

Bun Crash Report

https://bun.report/1.3.5/e_11e86cebEugggC++08F+mvBoxhkf0389e__0shkwCA0eNrzzCtJLcpLzM9TSEvMzCktSgUAiSkKPg

Configuration Verified

All configuration files are correct. The crash occurs in Bun runtime itself.

What Should Happen?

panic(main thread): Internal assertion failure
oh no: Bun has crashed. This indicates a bug in Bun, not your code.

Error Messages/Logs

Steps to Reproduce

  1. Install Claude Code CLI (v2.1.31)
  2. Install Claude browser extension from https://claude.ai/chrome
  3. Run the native host manually:

```powershell
& "C:\Users\Administrator\.claude\chrome\chrome-native-host.bat"

Error Output

Claude Model

Opus

Is this a regression?

Yes, this worked in a previous version

Last Working Version

_No response_

Claude Code Version

2.1.31

Platform

Anthropic API

Operating System

Windows

Terminal/Shell

PowerShell

Additional Information

_No response_

View original on GitHub ↗

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