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

[BUG] Cannot open or use claude after last update (0.2.119)

Open backnotprop opened this issue 1 year ago • 22 comments

No commands work, to either enter a terminal TUI session, or using cli commands directly.

❯ npm list -g @anthropic-ai/claude-code
 --depth=0
/Users/ramos/.nvm/versions/node/v20.18.3/lib
└── @anthropic-ai/[email protected]

I am using Mac M1.

Edit 1: Workaround: npm install -g @anthropic-ai/[email protected] -bcherny

Edit 2: Fixed! npm install -g @anthropic-ai/claude-code to force an update -bcherny

backnotprop avatar May 19 '25 04:05 backnotprop

same thing happens on normal PC

GaryDean avatar May 19 '25 04:05 GaryDean

I tried some quick investigating at the npm global log level but saw nothing.

Current known fix (May 18): Uninstall and reinstall last known working version

npm uninstall -g @anthropic-ai/claude-code npm install -g @anthropic-ai/[email protected]

backnotprop avatar May 19 '25 04:05 backnotprop

I get the same behavior on Ubuntu 22.04 LTS running under WSL.

outamaa avatar May 19 '25 04:05 outamaa

Looking. Please downgrade for now.

bcherny avatar May 19 '25 04:05 bcherny

Claude Code can not be launched after last update. Issue on Ubuntu22.04, 24.04 and MacBook Air M3.

changde0628 avatar May 19 '25 04:05 changde0628

Update: fix deploying

bcherny avatar May 19 '25 04:05 bcherny

Update: fix deploying

@bcherny Wow that was fast, props guys 👏

Us night owls appreciate you

ArturoTorresMartinez avatar May 19 '25 04:05 ArturoTorresMartinez

is it fixed? still Claude Code can not be launched

websfactory avatar May 19 '25 05:05 websfactory

Published 0.2.120 -- can folks confirm that fixes it? May need to npm i -g @anthropic-ai/claude-code to force an update.

bcherny avatar May 19 '25 05:05 bcherny

works for me after doing a npm update claude update did not work

swackhamer avatar May 19 '25 05:05 swackhamer

@websfactory @ArturoTorresMartinez could you confirm 0.2.120 fixes it for you please?

bcherny avatar May 19 '25 05:05 bcherny

Published 0.2.120 -- can folks confirm that fixes it? May need to npm i -g @anthropic-ai/claude-code to force an update.

FIXED! You guys are awesome

ArturoTorresMartinez avatar May 19 '25 05:05 ArturoTorresMartinez

@websfactory @ArturoTorresMartinez could you confirm 0.2.120 fixes it for you please?

@bcherny Can confirm it worked sir. I did have to run npm i -g @anthropic-ai/claude-code

But thank you so much! What a turnaround 🙌

ArturoTorresMartinez avatar May 19 '25 05:05 ArturoTorresMartinez

Amazing! Thanks all, and sorry for the breakage. Going to sleep, then going to think about how we can make sure this doesn't happen again.

bcherny avatar May 19 '25 05:05 bcherny

Amazing! Thanks all, and sorry for the breakage. Going to sleep, then going to think about how we can make sure this doesn't happen again.

Thank YOU. Well deserved rest.

TY once more

ArturoTorresMartinez avatar May 19 '25 05:05 ArturoTorresMartinez

@websfactory @ArturoTorresMartinez could you confirm 0.2.120 fixes it for you please?

oh now it works for me as well! It WORKS!

websfactory avatar May 19 '25 05:05 websfactory

Amazing! Thanks all, and sorry for the breakage. Going to sleep, then going to think about how we can make sure this doesn't happen again.

Thanks, that worked! Good night~

XiaTiaoQAQ avatar May 19 '25 05:05 XiaTiaoQAQ

Environment:

  • Operating System: Ubuntu 24.04.2 LTS
  • Claude CLI Version: 0.2.120
  • Terminal: Bash

Issue Description: After uninstalling and reinstalling claude-code as per the suggestions in issue #1158, invoking the claude command yields no response—no output, no error messages, and no initiation of the Claude process.

Steps to Reproduce:

  1. Uninstall claude-code using npm uninstall -g @anthropic-ai/claude-code.
  2. Reinstall using npm install -g @anthropic-ai/claude-code.
  3. Execute the command claude.

Expected Behavior: The claude command should initiate the Claude CLI, providing an interactive prompt or executing the specified command.

Actual Behavior: Executing claude results in no output or activity. There are no error messages, logs, or indications of any process initiation.

Additional Context: While other users have reported successful resolutions following the steps in issue #1158, this issue persists in my environment.

Troubleshooting Steps Taken:

  • Confirmed that claude is installed and accessible in the system PATH.
  • Attempted running claude with --verbose and --debug flags; still no output.

Request for Assistance: Any guidance or suggestions to further diagnose and resolve this issue would be greatly appreciated.

CodingButterBot avatar May 19 '25 05:05 CodingButterBot

Issue persists in v0.2.120 with specific environment

I wanted to report that I'm still experiencing the raw mode issue even after updating to v0.2.120.

Environment details:

  • macOS with tmux (with custom configuration)
  • Node.js v20.10.0 (also tried v21.7.2)
  • Terminal: Ghostty with tmux
  • TERM=xterm-256color

Running any Claude CLI command (even claude --version) results in the same error about raw mode not being supported, or sometimes it just hangs with no output.

dylan-conlin avatar May 19 '25 05:05 dylan-conlin

Published 0.2.120 -- can folks confirm that fixes it? May need to npm i -g @anthropic-ai/claude-code to force an update. Fixed Removing claude alias did the trick

codetalcott avatar May 19 '25 14:05 codetalcott