[BUG] Possible Windows binary incompatibility in 2.1.113 (claude.exe fails to run)
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?
Description
After installing @anthropic-ai/claude-code@2.1.113, I encountered a Windows compatibility error when running the claude command.
The error message indicates that the executable is not compatible with my Windows version.
Version 2.1.112 works correctly, but after updating (or opening a new terminal), it seems to switch to the newer version and fails.
What Should Happen?
The CLI should run normally on Windows (same as version 2.1.112).
Error Messages/Logs
C:\Users\xxxx>claude
This version of D:\nodejs\node_global\node_modules@anthropic-ai\claude-code\bin\claude.exe is not compatible with the version of Windows you're running. Check your computer's system information and contact the software publisher.
Steps to Reproduce
- Install version 2.1.112:
```bash
npm install -g @anthropic-ai/claude-code@2.1.112
- Run claude → works fine
- Open a new terminal or update to 2.1.113
- Run claude again → shows compatibility error
Claude Model
None
Is this a regression?
Yes, this worked in a previous version
Last Working Version
2.1.112
Claude Code Version
2.1.114
Platform
Other
Operating System
Windows
Terminal/Shell
Windows Terminal
Additional Information
It appears that the claude.exe binary included in version 2.1.113 may not be compatible with this Windows environment.
Possible causes might include:
Incorrect build target (e.g., architecture mismatch)
Packaging or bundling issue
Dependency/runtime mismatch
Since version 2.1.112 works correctly under the same environment, this seems to be a regression introduced in 2.1.113.
Please let me know if I can provide additional logs or help test a fix.
This issue has 7 comments on GitHub. Read the full discussion on GitHub ↗