[BUG]
Resolved 💬 16 comments Opened Apr 18, 2026 by zorrooooooo Closed Jun 23, 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?
use in Windows10 22H2.
in command line:该版本的 C:\Program Files\nodejs\node_modules\@anthropic-ai\claude-code\bin\claude.exe 与你运行的 Windows 版本不兼容。请查看计算机的系统信息,然后联系软件发布者。
dialog:不支持的 16位应用程序 由于与64位的windows 不兼容。此程序或功能\??\C:\Program Files\nodejs\node_modules\@anthropic-ai\claude-code\bin\claude.exe 与你运行的 Windows 版本不兼容。请查看计算机的系统信息,然后联系软件发布者。
What Should Happen?
in command line : C:\Users\CN090535>claude
Error Messages/Logs
该版本的 C:\Program Files\nodejs\node_modules\@anthropic-ai\claude-code\bin\claude.exe 与你运行的 Windows 版本不兼容。请查看计算机的系统信息,然后联系软件发布者。
Steps to Reproduce
no I dont konw how to Reproduce. I just /exit and at the same time Ctrl+C .
Claude Model
None
Is this a regression?
Yes, this worked in a previous version
Last Working Version
_No response_
Claude Code Version
2.1.114
Platform
Anthropic API
Operating System
Windows
Terminal/Shell
IntelliJ IDEA terminal
Additional Information
<img width="450" height="123" alt="Image" src="https://github.com/user-attachments/assets/4f455870-5ed7-4ccd-be64-edfbc6a45d1a" />
16 Comments
me too,It's very strange
I found the resolve way,reinstall with npm install -g @anthropic-ai/claude-code --registry=https://registry.npmjs.org/ --foreground-scripts
I also experienced a situation where I was using it normally in the morning, but suddenly couldn't use it in the afternoon!
This method is not effective
same here😠
use old version eg 2.1.98
<img width="1097" height="301" alt="Image" src="https://github.com/user-attachments/assets/59afea9e-f178-480d-a0b9-234e2f2fa24f" />
I found the resolve way,reinstall with npm install -g @anthropic-ai/claude-code --registry=https://registry.npmjs.org/ --foreground-scripts
This method is effective,but my colleague not effective.
<img width="321" height="107" alt="Image" src="https://github.com/user-attachments/assets/c57afc4a-e813-409c-a467-72086cb1416e" />
my npm version
我也是莫名其妙不行了
使用:npm install -g @anthropic-ai/claude-code --registry= https://registry.npmjs.org/ --foreground-scripts,可以解决。
我的版本如下:node(v24.14.1),npm(11.11.0)
注意上面的
--registry=的后面,贴出来自己加了个空格,执行时手动去掉一些镜像源应该是有分发包错误的问题,尝试更换npm源然后重新安装,
npm config set registry [你的镜像源地址]
也可以尝试
npm install -g @anthropic-ai/claude-code@2.1.110 --os=win32 --cpu=x64
应该是版本问题,可以尝试安装老一点的版本,npm install -g @anthropic-ai/claude-code@2.1.110
<img width="1226" height="537" alt="Image" src="https://github.com/user-attachments/assets/d2e6d655-bde1-4121-8e13-7a4281cdf2bb" />
This solution is effective
Closing for now — inactive for too long. Please open a new issue if this is still relevant.
resolved!!