claude-code - 💡(How to fix) Fix [BUG] Claude Code process exited with code 1 immediately, hadFirstResponse=false [3 comments, 2 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
anthropics/claude-code#57782Fetched 2026-05-11 03:25:32
View on GitHub
Comments
3
Participants
2
Timeline
8
Reactions
0
Timeline (top)
labeled ×4commented ×3closed ×1

Error Message

  • Error happening in the Claude Desktop app in Code mode
  • Error: Claude Code process exited with code 1 immediately, hadFirstResponse=false

Error Messages/Logs

Code Example

Claude Code crashed
Try sending your message again. If it keeps happening, share feedback so we can investigate.

Claude Code process exited with code 1
RAW_BUFFERClick to expand / collapse

Preflight Checklist

  • I have searched existing issues and this hasn't been reported yet
  • This is a single bug report (please file separate reports for different bugs)
  • I am using the latest version of Claude Code

What's Wrong?

  • Error happening in the Claude Desktop app in Code mode

  • Prior to the crash starting (around May 7-8), manually deleted several
    git worktrees from a project to clean up old Claude sessions

    • First occurrence: May 9 at startup, after the app downloaded bundled
      binary 2.1.128 (replacing the previously working 2.1.121)

    What we've ruled out:

    • Not project-specific — crashes on ALL local projects including new ones
    • Not a missing session file — new sessions crash too
    • Binary works fine when invoked directly from terminal (both --print mode and interactive PTY mode)
    • Binary works with --plugin-dir, --permission-mode, --effort, --model flags
    • The crash is instantaneous (0ms), before any output is produced
    • Updating app to 1.6608.2 did not fix it
    • Full reinstall did not fix it — app re-downloads same 2.1.128 binary

    Log pattern (every crash):
    [CCD] Passing 2 plugin(s) to SDK (skills: 1, remote: 1, local: 0)
    Using Claude Code binary at: .../2.1.128/claude.app/Contents/MacOS/claude
    → immediate: process exited with code 1 (0s, hadFirstResponse=false)

  • App version: 1.6608.2 (ebf1a1)

    • Binary: 2.1.128
    • Error: Claude Code process exited with code 1 immediately, hadFirstResponse=false
    • Affects ALL local projects, not just one
    • Full reinstall did not fix it
    • System CLI (2.1.138) works fine from terminal
    • Sentry event ID: 814abb0c2ac343bc8279650d0ac167cd

What Should Happen?

I can't open any session

Error Messages/Logs

Claude Code crashed
Try sending your message again. If it keeps happening, share feedback so we can investigate.

Claude Code process exited with code 1

Steps to Reproduce

Any message that I send in the Claude Code Desktop

Claude Model

Not sure / Multiple models

Is this a regression?

I don't know

Last Working Version

No response

Claude Code Version

Claude 1.6608.2 (ebf1a1) 2026-05-08T23:17:27.000Z

Platform

Other

Operating System

macOS

Terminal/Shell

Other

Additional Information

No response

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

claude-code - 💡(How to fix) Fix [BUG] Claude Code process exited with code 1 immediately, hadFirstResponse=false [3 comments, 2 participants]