claude-code - 💡(How to fix) Fix [BUG] Desktop App Code tab crashes immediately on macOS 15 Sequoia [1 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#55918Fetched 2026-05-05 06:02:55
View on GitHub
Comments
1
Participants
2
Timeline
5
Reactions
0
Timeline (top)
labeled ×4commented ×1

Error Message

▎ - Error: "Claude Code process exited with code 1" — exits in 0s before any response

Error Messages/Logs

  1. Observe: "Claude Code process exited with code 1" error immediately — no session starts Claude Preview, ccd_session, ccd_directory, ccd_session_mgmt, scheduled-tasks) and exits in 0s with no output before the Desktop App logs the error

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?

Desktop App Code tab crashes immediately on macOS 15 Sequoia
▎ - macOS: 15.x Sequoia (Darwin 24.6.0)
▎ - Desktop App: 1.5354.0 (latest, fresh install)
▎ - Error: "Claude Code process exited with code 1" — exits in 0s before any response ▎ - Affects all folders
▎ - Bundled binary (2.1.121) works fine when run directly; system CLI (2.1.126) works fine from terminal
▎ - Clean reinstall of app + support directory does not fix it

What Should Happen?

Desktop App should load Claude

Error Messages/Logs

Claude Code process exited with code 1

Steps to Reproduce

Reproduction steps:

  1. Install Claude Desktop App 1.5354.0 on macOS 15 Sequoia (fresh install, no prior state)
  2. Sign in with a Claude account
  3. Click the Code tab
  4. Click Select folder and choose any local git repository
  5. Observe: "Claude Code process exited with code 1" error immediately — no session starts

Additional context:

  • Occurs on every folder, not repo-specific
  • Occurs even after full wipe of ~/Library/Application Support/Claude and reinstall
  • Bundled binary (~/Library/Application Support/Claude/claude-code/2.1.121/claude.app/Contents/MacOS/claude) runs correctly when invoked directly from terminal
  • System-installed claude CLI (2.1.126 via ~/.local/bin/claude) works correctly from terminal
  • From ~/Library/Logs/Claude/main.log: binary is spawned with 7 MCP servers (Claude in Chrome, mcp-registry,
    Claude Preview, ccd_session, ccd_directory, ccd_session_mgmt, scheduled-tasks) and exits in 0s with no output before the Desktop App logs the error
  • No crash report generated in ~/Library/Logs/DiagnosticReports/ (clean exit, not a signal crash)

Claude Model

Sonnet (default)

Is this a regression?

I don't know

Last Working Version

No response

Claude Code Version

2.1.126 (Claude Code)

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

Terminal.app (macOS)

Additional Information

No response

extent analysis

TL;DR

The issue might be related to the interaction between the Desktop App and the bundled binary, and verifying the environment variables and dependencies could help resolve the "Claude Code process exited with code 1" error.

Guidance

  • Investigate the differences in environment variables and dependencies between running the bundled binary directly and running it through the Desktop App.
  • Check the ~/Library/Logs/Claude/main.log for any clues about the binary's execution and exit.
  • Compare the versions of the bundled binary (2.1.121) and the system-installed CLI (2.1.126) to see if there are any version-specific issues.
  • Try running the Desktop App with a different Claude model or version to see if the issue is specific to the Sonnet model or version 2.1.126.

Notes

The issue seems to be specific to the Desktop App on macOS 15 Sequoia, and the fact that the bundled binary runs correctly when invoked directly from the terminal suggests that the issue might be related to the App's configuration or environment.

Recommendation

Apply workaround: Try running the system-installed CLI (2.1.126) from the terminal to see if it produces the same error, and investigate the differences in environment variables and dependencies between the two executions.

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