claude-code - 💡(How to fix) Fix [BUG] Cowork crashes with "Claude Code process exited with code 1" on every new session (macOS) [5 comments, 5 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#49371Fetched 2026-04-17 08:43:02
View on GitHub
Comments
5
Participants
5
Timeline
17
Reactions
3
Timeline (top)
commented ×5cross-referenced ×5labeled ×4subscribed ×2

Error Message

Every new Cowork session crashes immediately with the error "Something went wrong — Claude Code process exited with code 1." The message is sent, then the error banner appears and no response is returned. This started happening today; it was working previously.

Error Messages/Logs

  1. Error banner appears: "Something went wrong — Claude Code process exited with code 1" The Claude Code process crashes instantly with exit code 1. The error banner offers "Go back" and "Try again" buttons, but retrying produces the same crash. [attach the screenshot of the error banner here]
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?

Every new Cowork session crashes immediately with the error "Something went wrong — Claude Code process exited with code 1." The message is sent, then the error banner appears and no response is returned. This started happening today; it was working previously.

<img width="821" height="375" alt="Image" src="https://github.com/user-attachments/assets/91fc482c-e455-43dd-b6f0-d37f3e768c5c" />

What Should Happen?

When I open Cowork on macOS and send a message in a new session, Claude should process the message and return a response in the conversation, the same way it did before today. The Claude Code process should launch and stay running for the duration of the session instead of exiting immediately with code 1.

Error Messages/Logs

Steps to Reproduce

  1. Open Claude Cowork on macOS
  2. Start a new conversation
  3. Send any message (e.g. "hi")
  4. Error banner appears: "Something went wrong — Claude Code process exited with code 1"

Expected Behavior

The message should be sent and receive a response.

Actual Behavior

The Claude Code process crashes instantly with exit code 1. The error banner offers "Go back" and "Try again" buttons, but retrying produces the same crash.

Scope

  • Happens on every new session, not intermittent
  • Started today (previously working)

Troubleshooting Already Attempted

  • Fully quit and relaunched the app
  • Restarted the Mac
  • Confirmed app is on the latest version
  • Tried starting sessions in different project folders
  • None of the above resolved the issue

Screenshot

[attach the screenshot of the error banner here]

Additional Context

This may be related to #46029 (Cowork sessions crashing with exit code 1) or #40540 (Desktop App SDK flag incompatibility). Happy to provide logs from ~/Library/Logs/Claude/ if helpful.

<img width="821" height="375" alt="Image" src="https://github.com/user-attachments/assets/4f05adde-72af-4f43-a638-f93439452827" />

Claude Model

Sonnet (default)

Is this a regression?

Yes, this worked in a previous version

Last Working Version

No response

Claude Code Version

Claude 1.3036.0 (cf521c) 2026-04-16T16:17:33.000Z

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

Terminal.app (macOS)

Additional Information

No response

extent analysis

TL;DR

The issue can likely be resolved by investigating and addressing the potential incompatibility or bug introduced in the latest version of Claude Code, possibly related to the Desktop App SDK flag or a regression.

Guidance

  • Review the changes made in the latest version (Claude 1.3036.0) to identify any potential causes for the crash, especially focusing on updates related to the Desktop App SDK.
  • Check the logs from ~/Library/Logs/Claude/ for any specific error messages that could indicate the root cause of the crash.
  • Consider testing an older version of Claude Code to confirm if the issue is indeed a regression and to identify the last working version.
  • Investigate the relationship between this issue and the mentioned GitHub issues (#46029 and #40540) to see if there are any common factors or solutions that could apply.

Example

No specific code snippet can be provided without more details on the internal workings of Claude Code or the Anthropic API. However, logging and debugging efforts should focus on the interaction between the Claude Code process and the Desktop App SDK.

Notes

The lack of specific error messages in the logs provided and the absence of a clear last working version make it challenging to pinpoint the exact cause. The issue's relation to previous bugs (#46029 and #40540) suggests that it might be part of a larger compatibility or regression problem.

Recommendation

Apply workaround: Given the potential for this to be a regression or compatibility issue, applying a workaround such as rolling back to a previous version of Claude Code (if possible) or awaiting a patch for the identified issues might be the most straightforward path to resolving the problem.

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