[BUG] Claude code crashing on load

Status Fixed / completed
Maintainer reply ✓ Yes — dicksontsai
Activity 6 comments · opened Apr 22, 2025 · closed Apr 22, 2025
💡 Likely answer: A maintainer (dicksontsai, collaborator) responded on this thread — see the highlighted reply below.

Environment

  • Platform (select one):
  • [x] Anthropic API
  • [ ] AWS Bedrock
  • [ ] Google Vertex AI
  • [ ] Other: <!-- specify -->
  • Claude CLI version: 0.2.76 (Claude Code)
  • Operating System: MacOS 15.4.1
  • Terminal: Warp

Bug Description

After auto updating to the latest version this morning, I started seeing the behavior in the attached screenshot.

!Image

Steps to Reproduce

  1. cd into desired directory
  2. run claude in said directory
  3. observe crash

Expected Behavior

Claude should load and allow me to enter my prompt in the input box

Actual Behavior

Claude crashes instead -- see above screenshot

Additional Context

I'm using bun instead of npm

View original on GitHub ↗

6 Comments

elasticbrains-dn · 1 year ago

I'm having the same issue
I jumped back to Version 0.2.74 and this works: npm install -g @anthropic-ai/claude-code@0.2.74

dicksontsai collaborator · 1 year ago

Thank you for the report. I identified the issue and will push out a fix as soon as I can.

dicksontsai collaborator · 1 year ago

We released 0.2.77, which includes a fix for this issue. Could you please verify that the new version works for you?

elasticbrains-dn · 1 year ago

Hi, I installed npm install -g @anthropic-ai/claude-code@0.2.77 and claude started again, looks like it solved the issue. @dicksontsai

rhymiz · 1 year ago

@dicksontsai can confirm this is resolved in 0.2.77. Thanks for the quick turnaround!

github-actions[bot] · 1 year ago

This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.