claude-code - 💡(How to fix) Fix [BUG] Claude Code Desktop GUI - exit code 1 on every session (Pro plan, Mac) [2 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#53384Fetched 2026-04-26 05:17:14
View on GitHub
Comments
2
Participants
2
Timeline
5
Reactions
0
Timeline (top)
labeled ×3commented ×2

Error Message

Claude Code Desktop GUI app shows "Claude Code process exited with code 1" immediately on every new session. No output or error details are shown.

Error Messages/Logs

Code Example

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?

Claude Code Desktop GUI app shows "Claude Code process exited with code 1" immediately on every new session. No output or error details are shown.

What Should Happen?

Sessions should start normally and accept user input.

Error Messages/Logs

Claude Code process exited with code 1

Steps to Reproduce

  1. Open Claude Code Desktop app
  2. Click "New session"
  3. Type any message and press Enter
  4. "Claude Code process exited with code 1" appears immediately
<img width="1165" height="747" alt="Image" src="https://github.com/user-attachments/assets/af179dd2-96d7-42bf-b6bf-d99c2ea2bd9d" />

Claude Model

Sonnet (default)

Is this a regression?

Yes, this worked in a previous version

Last Working Version

I dont know.

Claude Code Version

2.1.119

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

Terminal.app (macOS)

Additional Information

  • Terminal version works fine
  • claude auth status shows: logged in, Pro plan
  • claude doctor shows no issues
  • Reinstalled app, issue persists
  • Two "Default" cloud environments appear in environment selector

extent analysis

TL;DR

The issue might be related to the Claude Code Desktop app's interaction with the Anthropic API or the Sonnet model, and checking the API connection or model configuration could help resolve the "Claude Code process exited with code 1" error.

Guidance

  • Verify the Anthropic API connection by checking the claude auth status and ensuring that the Pro plan is active and correctly configured.
  • Investigate the Sonnet model configuration, as it is set to the default model, and consider trying a different model to see if the issue persists.
  • Review the environment selector settings, as two "Default" cloud environments are present, which might be causing conflicts.
  • Check for any updates or known issues with the Claude Code version 2.1.119, as the issue is reported as a regression.

Example

No code snippet is provided, as the issue is related to a GUI app and API interaction.

Notes

The issue might be specific to the macOS platform or the Terminal.app, and further investigation is needed to determine the root cause.

Recommendation

Apply a workaround by trying a different model or environment configuration to see if the issue persists, as the root cause is still unknown.

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 Desktop GUI - exit code 1 on every session (Pro plan, Mac) [2 comments, 2 participants]