anthropics / anthropics/claude-code

[BUG] Claude Code 2.1.269 (win32-x64) launches as Bun instead of Claude

未关闭
#93,943 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
area:packaging bug platform:windows regression
主要语言
Python
星标
145k
派生
23.1k
PR 合并指标
PR 指标待抓取

描述

### Preflight Checklist

- [x] I have searched [existing issues](https://github.com/anthropics/claude-code/issues?q=is%3Aissue%20state%3Aopen%20label%3Abug) 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?

@anthropic-ai/claude-code@2.1.269, installed via npm on Windows, ships a win32-x64 native binary
whose embedded launcher does not run. Executing claude prints Bun's CLI help, and claude --version
reports the Bun runtime version instead of the Claude Code version. The PE metadata still claims
Claude Code. Version 2.1.268 (previous) and 2.1.270 (next) are both unaffected on the same machine.

### What Should Happen?

claude should be opened without error

### Error Messages/Logs

```shell

```

### Steps to Reproduce

1

### Claude Model

None

### Is this a regression?

Yes, this worked in a previous version

### Last Working Version

_No response_

### Claude Code Version

v2.1.270

### Platform

Other

### Operating System

Windows

### Terminal/Shell

Terminal.app (macOS)

### Additional Information

_No response_

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。