claude-code icon indicating copy to clipboard operation
claude-code copied to clipboard

[Bug] Upgrade Fails: Zero-Byte Executable Replaces Existing Binary

Open MarcusJellinghaus opened this issue 3 months ago • 3 comments

Bug Description upgrade not working - claude seems to replace itself in folder C:\Users[username].local\bin by a file with 0 bytes.

Environment Info

  • Platform: win32
  • Terminal: pycharm
  • Version: 2.0.13
  • Feedback ID: 0d9e9aaa-3c2a-43f1-801a-3b38fa97ed72

Errors

[{"error":"Error\n    at gXG (B:/~BUN/root/claude.exe:511:37285)\n    at gXG (B:/~BUN/root/claude.exe:511:37972)\n    at $e9 (B:/~BUN/root/claude.exe:512:4097)\n    at $e9 (B:/~BUN/root/claude.exe:512:4162)\n    at Ie9 (B:/~BUN/root/claude.exe:512:1612)\n    at Ie9 (B:/~BUN/root/claude.exe:512:1919)\n    at <anonymous> (B:/~BUN/root/claude.exe:513:2848)\n    at <anonymous> (B:/~BUN/root/claude.exe:513:3043)\n    at processTicksAndRejections (unknown:7:39)","timestamp":"2025-10-12T18:17:22.557Z"}]

MarcusJellinghaus avatar Oct 12 '25 18:10 MarcusJellinghaus


Found 3 possible duplicate issues:

  1. https://github.com/anthropics/claude-code/issues/9281
  2. https://github.com/anthropics/claude-code/issues/9418
  3. https://github.com/anthropics/claude-code/issues/9238

This issue will be automatically closed as a duplicate in 3 days.

  • If your issue is a duplicate, please close it and 👍 the existing issue instead
  • To prevent auto-closure, add a comment or 👎 this comment

🤖 Generated with Claude Code

github-actions[bot] avatar Oct 12 '25 18:10 github-actions[bot]

Well, #9238 describes a work-around, but not a real fix

MarcusJellinghaus avatar Oct 12 '25 18:10 MarcusJellinghaus

This issue has been inactive for 30 days. If the issue is still occurring, please comment to let us know. Otherwise, this issue will be automatically closed in 30 days for housekeeping purposes.

github-actions[bot] avatar Dec 07 '25 10:12 github-actions[bot]