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

Resolved 💬 5 comments Opened Oct 12, 2025 by MarcusJellinghaus Closed Jan 9, 2026

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"}]

View original on GitHub ↗

This issue has 5 comments on GitHub. Read the full discussion on GitHub ↗