[BUG] Chrome native messaging host crashes with Bun panic on Windows 11
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?
The Claude in Chrome integration fails to connect because the native messaging host crashes immediately on startup
with a Bun internal assertion failure.
Environment:
- OS: Windows 11
- Claude Code version: 2.1.23
- Bun version (bundled): 1.3.5
Steps to reproduce:
- Run Claude Code with Chrome integration enabled
- Use /chrome command or attempt to use any mcp__claude-in-chrome__* tool
- MCP server shows as failed
Expected behavior:
Native messaging host starts successfully and Chrome extension connects.
Actual behavior:
The native host crashes immediately with:
[Claude Chrome Native Host] Initializing...
[Claude Chrome Native Host] Creating socket listener: \\.\pipe\claude-mcp-browser-bridge-satya
panic(main thread): Internal assertion failure
oh no: Bun has crashed. This indicates a bug in Bun, not your code.
Diagnostic info:
Manually running the native host produces the crash:
echo '{"type":"ping"}' | "C:/Users/satya/.claude/chrome/chrome-native-host.bat"
Registry entry exists and points to correct location:
HKCU\Software\Google\Chrome\NativeMessagingHosts\com.anthropic.claude_code_browser_extension
Native host manifest and batch script are correctly configured in ~/.claude/chrome/.
Bun crash report:
https://bun.report/1.3.5/e_11e86cebEugggC++08F+mvBoxhkf0389e__0shkwCA0eNrzzCtJLcpLzFFILC5OLSrJzM9TSEvMzCktSgUAiSkKPg
What Should Happen?
Should just work
Error Messages/Logs
Steps to Reproduce
n/a
Claude Model
Opus
Is this a regression?
Yes, this worked in a previous version
Last Working Version
_No response_
Claude Code Version
2.1.23
Platform
Anthropic API
Operating System
Windows
Terminal/Shell
PowerShell
Additional Information
_No response_
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗