[BUG] Claude Code 2.1.266 crashes with "Bus error" on WSL2 (npm/NVM install) — 2.1.265 works

Status Open
Reported on v2.1.266
Maintainer reply None cached
Activity 0 comments · opened Sep 9, 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?

Claude Code 2.1.266 crashes immediately with a Bus error when launched from WSL2, both via claude and claude --version. Downgrading to 2.1.265 resolves the issue completely with no other changes to the environment.

What Should Happen?

Claude Code should start normally and print the version number, without crashing.

Error Messages/Logs

Bus error

Steps to Reproduce

  1. On WSL2 (Ubuntu 26.04, kernel 6.18.33.2-microsoft-standard-WSL2) with Node.js v24.20.0 (via NVM) and npm 11.19.0, run: `` npm install -g @anthropic-ai/claude-code@2.1.266 ``
  2. From any project directory, run: `` claude ` or ` claude --version ``
  3. Observe: Bus error — the process crashes immediately with no other output Workaround: downgrading to 2.1.265 (npm install -g @anthropic-ai/claude-code@2.1.265) resolves the issue completely with no other changes to the environment.

Claude Model

None

Is this a regression?

Yes, this worked in a previous version

Last Working Version

2.1.265

Claude Code Version

2.1.266 (Claude Code)

Platform

Anthropic API

Operating System

Windows

Terminal/Shell

WSL (Windows Subsystem for Linux)

Additional Information

Note: distinct from #89421 (SIGSEGV, v2.1.242+, native Linux) — this crash is a Bus error, appears only in v2.1.266, and 2.1.265 works fine, suggesting a separate, more recent regression.

View original on GitHub ↗