bug

Resolved 💬 2 comments Opened Apr 4, 2026 by SBT75 Closed May 14, 2026

Preflight Checklist

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

What's Wrong?

Bug Report: Claude Desktop Code mode not responding after update (macOS, exit code 1)
Environment:

macOS (Apple Silicon)
Claude Desktop version: 1.569.0
Claude Code binary: 2.1.87

What's wrong:
After updating Claude Code, the Code tab in Claude Desktop stops responding completely. Messages are sent but no response appears. Chat and Cowork tabs work fine. Claude Code works perfectly in Terminal.
Error in logs:
[warn] Shell environment extraction failed, using process.env
[error] Claude Code process exited with code 1
[info] unhealthy cycle (0s, hadFirstResponse=false, reason=no_response)
What I tried:

Replaced the binary manually (cp fix)
Deleted and re-downloaded the claude-code binary
Deleted local-agent-mode-sessions folder
Full wipe of ~/Library/Application Support/Claude/
Sign out and sign back in
Reinstalled Claude Desktop

Nothing worked. The binary runs fine from Terminal but crashes instantly when launched by Claude Desktop.
This appears to be the same issue reported in #36419, #37822, #39270.
Request: Please fix the Shell environment extraction so Claude Desktop can launch the Code binary correctly on macOS.

What Should Happen?

Bug Report: Claude Desktop Code mode not responding after update (macOS, exit code 1)
Environment:

macOS (Apple Silicon)
Claude Desktop version: 1.569.0
Claude Code binary: 2.1.87

What's wrong:
After updating Claude Code, the Code tab in Claude Desktop stops responding completely. Messages are sent but no response appears. Chat and Cowork tabs work fine. Claude Code works perfectly in Terminal.
Error in logs:
[warn] Shell environment extraction failed, using process.env
[error] Claude Code process exited with code 1
[info] unhealthy cycle (0s, hadFirstResponse=false, reason=no_response)
What I tried:

Replaced the binary manually (cp fix)
Deleted and re-downloaded the claude-code binary
Deleted local-agent-mode-sessions folder
Full wipe of ~/Library/Application Support/Claude/
Sign out and sign back in
Reinstalled Claude Desktop

Nothing worked. The binary runs fine from Terminal but crashes instantly when launched by Claude Desktop.
This appears to be the same issue reported in #36419, #37822, #39270.
Request: Please fix the Shell environment extraction so Claude Desktop can launch the Code binary correctly on macOS.

Error Messages/Logs

Steps to Reproduce

Bug Report: Claude Desktop Code mode not responding after update (macOS, exit code 1)
Environment:

macOS (Apple Silicon)
Claude Desktop version: 1.569.0
Claude Code binary: 2.1.87

What's wrong:
After updating Claude Code, the Code tab in Claude Desktop stops responding completely. Messages are sent but no response appears. Chat and Cowork tabs work fine. Claude Code works perfectly in Terminal.
Error in logs:
[warn] Shell environment extraction failed, using process.env
[error] Claude Code process exited with code 1
[info] unhealthy cycle (0s, hadFirstResponse=false, reason=no_response)
What I tried:

Replaced the binary manually (cp fix)
Deleted and re-downloaded the claude-code binary
Deleted local-agent-mode-sessions folder
Full wipe of ~/Library/Application Support/Claude/
Sign out and sign back in
Reinstalled Claude Desktop

Nothing worked. The binary runs fine from Terminal but crashes instantly when launched by Claude Desktop.
This appears to be the same issue reported in #36419, #37822, #39270.
Request: Please fix the Shell environment extraction so Claude Desktop can launch the Code binary correctly on macOS.

Claude Model

None

Is this a regression?

Yes, this worked in a previous version

Last Working Version

_No response_

Claude Code Version

2.1.87 (Claude Code)

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

Terminal.app (macOS)

Additional Information

Bug Report: Claude Desktop Code mode not responding after update (macOS, exit code 1)
Environment:

macOS (Apple Silicon)
Claude Desktop version: 1.569.0
Claude Code binary: 2.1.87

What's wrong:
After updating Claude Code, the Code tab in Claude Desktop stops responding completely. Messages are sent but no response appears. Chat and Cowork tabs work fine. Claude Code works perfectly in Terminal.
Error in logs:
[warn] Shell environment extraction failed, using process.env
[error] Claude Code process exited with code 1
[info] unhealthy cycle (0s, hadFirstResponse=false, reason=no_response)
What I tried:

Replaced the binary manually (cp fix)
Deleted and re-downloaded the claude-code binary
Deleted local-agent-mode-sessions folder
Full wipe of ~/Library/Application Support/Claude/
Sign out and sign back in
Reinstalled Claude Desktop

Nothing worked. The binary runs fine from Terminal but crashes instantly when launched by Claude Desktop.
This appears to be the same issue reported in #36419, #37822, #39270.
Request: Please fix the Shell environment extraction so Claude Desktop can launch the Code binary correctly on macOS.

View original on GitHub ↗

This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗