[BUG] Problems updating 1.0.58 -> 1.0.59
Resolved 💬 10 comments Opened Jul 24, 2025 by florath Closed Jan 10, 2026
Environment
- Platform (select one): Sorry - no idea what to mark here
- [ ] Anthropic API
- [ ] AWS Bedrock
- [ ] Google Vertex AI
- [ ] Other: <!-- specify -->
- Claude CLI version: 1.0.58 -> 1.0.59
- Operating System: Debian 12 (6.1.140-1)
- Terminal: GNOME Terminal 3.46.8
Bug Description
Update from 1.0.58 to 1.59 failed. Manual interaction was needed to get it running again.
Steps to Reproduce
- Step
$ claude update
Current version: 1.0.58
Checking for updates...
New version available: 1.0.59 (current: 1.0.58)
Installing update...
Warning: Could not determine installation type
Attempting global update based on file detection...
Using global installation update method...
Error: Failed to install update
Or consider migrating to a local installation with:
claude migrate-installer
- Claude was removed:
$ claude
-bash: /home/florath/npm-global/bin/claude: No such file or directory
- Also manual installation failed:
$ npm install -g @anthropic-ai/claude-code
npm ERR! code ENOTEMPTY
npm ERR! syscall rename
npm ERR! path /home/florath/npm-global/lib/node_modules/@anthropic-ai/claude-code
npm ERR! dest /home/florath/npm-global/lib/node_modules/@anthropic-ai/.claude-code-n1GHRQW4
npm ERR! errno -39
npm ERR! ENOTEMPTY: directory not empty, rename '/home/florath/npm-global/lib/node_modules/@anthropic-ai/claude-code' -> '/home/florath/npm-global/lib/node_modules/@anthropic-ai/.claude-code-n1GHRQW4'
npm ERR! A complete log of this run can be found in:
npm ERR! /home/florath/.npm/_logs/2025-07-24T06_25_28_905Z-debug-0.log
- Claude failed to start:
$ claude
node:internal/process/promises:288
triggerUncaughtException(err, true /* fromPromise */);
^
[CompileError: WebAssembly.instantiate(): expected 83072 bytes, fell off end @+1233]
Node.js v18.19.0
Expected Behavior
Seamless update.
Actual Behavior
Failed update with unusable installation.
Additional Context
As a workaround (for all those who are also running in this problem), I had to remove the above mentioned directories.
```
rm -fr /home/florath/npm-global/lib/node_modules/@anthropic-ai/claude-code
rm -fr /home/florath/npm-global/lib/node_modules/@anthropic-ai/.claude-code-n1GHRQW4/
which then gave me a working claude code version:
$ npm install -g @anthropic-ai/claude-code
$ claude --version
1.0.59 (Claude Code)
This issue has 10 comments on GitHub. Read the full discussion on GitHub ↗