Self-Update Mechanism Fails, Requiring Manual Global Reinstall
Resolved 💬 3 comments Opened Jul 22, 2025 by johanatan Closed Jan 4, 2026
Bug Description
my claude install has been unable to self-update for a couple months now. the only way i can get updates is to npm -i g @anthropic-ai/claude-code which is obviously annoying. i would think that one of those would "heal" it since it should overwrite the offending files no?
Environment Info
- Platform: darwin
- Terminal: tmux
- Version: 1.0.57
- Feedback ID: b5f1d575-b08d-4fb3-a209-501b2902c386
Errors
[{"error":"Error: ENOENT: no such file or directory, open '/proc/version'\n at Module.readFileSync (node:fs:442:20)\n at Object.readFileSync (file:///Users/jonathan/.nvm/versions/node/v22.4.1/lib/node_modules/@anthropic-ai/claude-code/cli.js:659:7096)\n at file:///Users/jonathan/.nvm/versions/node/v22.4.1/lib/node_modules/@anthropic-ai/claude-code/cli.js:659:8658\n at Q (file:///Users/jonathan/.nvm/versions/node/v22.4.1/lib/node_modules/@anthropic-ai/claude-code/cli.js:653:14408)\n at __4 (file:///Users/jonathan/.nvm/versions/node/v22.4.1/lib/node_modules/@anthropic-ai/claude-code/cli.js:753:63371)\n at process.processTicksAndRejections (node:internal/process/task_queues:95:5)","timestamp":"2025-07-22T02:59:16.941Z"}]This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗