[Bug] Chrome Native Host crashes on Windows with Bun 1.3.5 named pipe initialization
Bug Description
Claude in Chrome Native Host crashes on Windows with Bun 1.3.5
When attempting to use Claude in Chrome integration on Windows, the native host (claude.exe --chrome-native-host) crashes
immediately with a Bun internal assertion failure.
Environment:
- Claude Code: v2.1.25
- Bun: v1.3.5 (1e86cebd) Windows x64 (baseline)
- OS: Windows 11
Steps to reproduce:
- Have Claude in Chrome extension installed
- Native messaging host properly configured in registry
- Extension tries to connect to Claude Code
- Connection fails with "Browser extension is not connected"
Debug output:
[Claude Chrome Native Host] Initializing...
[Claude Chrome Native Host] Creating socket listener: \\.\pipe\claude-mcp-browser-bridge-Florian
panic(main thread): Internal assertion failure
oh no: Bun has crashed. This indicates a bug in Bun, not your code.
Crash report URL:
https://bun.report/1.3.5/e_11e86cebEugggC++08F+mvBoxhkf0389e__0shkwCA0eNrzzCtJLcpLzM9TSEvMzCktSgUAiSkKPg
The native host starts creating the named pipe socket but crashes before completing initialization. This makes Claude in
Chrome unusable on Windows.
Environment Info
- Platform: win32
- Terminal: windows-terminal
- Version: 2.1.25
- Feedback ID: bc309e81-fb5f-450a-b640-c9035c0bcecb
Errors
[{"error":"Error: ENOENT: no such file or directory, scandir 'C:\\ProgramData\\ClaudeCode\\.claude\\skills'\n at readdirSync (unknown)\n at <anonymous> (B:/~BUN/root/claude.exe:12:2063)\n at nX (B:/~BUN/root/claude.exe:11:35715)\n at readdirSync (B:/~BUN/root/claude.exe:12:2024)\n at K6$ (B:/~BUN/root/claude.exe:1802:380)\n at K6$ (B:/~BUN/root/claude.exe:1802:1350)\n at <anonymous> (B:/~BUN/root/claude.exe:1802:4670)\n at <anonymous> (B:/~BUN/root/claude.exe:1802:5401)\n at A (B:/~BUN/root/claude.exe:11:7259)\n at $SE (B:/~BUN/root/claude.exe:4812:4342)","timestamp":"2026-01-30T13:01:34.223Z"},{"error":"Error: ENOENT: no such file or directory, scandir 'C:\\Users\\Florian\\.claude\\skills'\n at readdirSync (unknown)\n at <anonymous> (B:/~BUN/root/claude.exe:12:2063)\n at nX (B:/~BUN/root/claude.exe:11:35715)\n at readdirSync (B:/~BUN/root/claude.exe:12:2024)\n at K6$ (B:/~BUN/root/claude.exe:1802:380)\n at K6$ (B:/~BUN/root/claude.exe:1802:1350)\n at <anonymous> (B:/~BUN/root/claude.exe:1802:4713)\n at <anonymous> (B:/~BUN/root/claude.exe:1802:5401)\n at A (B:/~BUN/root/claude.exe:11:7259)\n at $SE (B:/~BUN/root/claude.exe:4812:4342)","timestamp":"2026-01-30T13:01:34.223Z"}]This issue has 4 comments on GitHub. Read the full discussion on GitHub ↗