[BUG] Claude Cowork and Claude Code Desktop App exit with Claude Code process exited with code 1 on any message

Resolved 💬 3 comments Opened May 15, 2026 by sahajranajee Closed May 19, 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?

When i try to send any message to claude code or claude cowork on the Desktop app, it doesnt respond and i get the error:
Claude Code process exited with code 1

Tried all fixes mentioned in thread: https://github.com/anthropics/claude-code/issues/52210#issuecomment-4317285675

Did not work. Had updated to latest claude version yesterday.

What Should Happen?

It should work normally.

Error Messages/Logs

2026-05-15 17:01:08 [info] [CCD] Using skills plugin at: /Users/sahajranajee/Library/Application Support/Claude/local-agent-mode-sessions/skills-plugin/094333c9-9005-41a8-ae69-123aba93bb16/b1e0826a-6be7-45c5-973d-9370a8eefdb4
2026-05-15 17:01:08 [info] [CCD] Passing 1 plugin(s) to SDK (skills: 1, remote: 0, local: 0)
2026-05-15 17:01:08 [info] Using Claude Code binary at: /Users/sahajranajee/Library/Application Support/Claude/claude-code/2.1.138/claude.app/Contents/MacOS/claude
2026-05-15 17:01:09 [error] Session local_c02d5003-e5c2-431f-8613-2cf7b7e1c862 query error: Claude Code process exited with code 1 { stack: 'Error: Claude Code process exited with code 1\n    at fbi.getProcessExitError (/Applications/Claude.app/Contents/Resources/app.asar/.vite/build/index.js:406:8370)\n    at ChildProcess.i (/Applications/Claude.app/Contents/Resources/app.asar/.vite/build/index.js:406:11414)\n    at Object.onceWrapper (node:events:631:26)\n    at ChildProcess.emit (node:events:521:24)\n    at ChildProcess._handle.onexit (node:internal/child_process:295:12)' }
2026-05-15 17:01:09 [error] Sentry caught: {
  eventId: '2bc4ebc9b0b245a3aee40d32e3ce2cb7',
  type: 'Error',
  value: 'Claude Code process exited with code 1',
  stack: 'Error: Claude Code process exited with code 1\n' +
    '    at fbi.getProcessExitError (app:///.vite/build/index.js:406:8370)\n' +
    '    at ChildProcess.i (app:///.vite/build/index.js:406:11414)\n' +
    '    at Object.onceWrapper (node:events:631:26)\n' +
    '    at ChildProcess.emit (node:events:521:24)\n' +
    '    at ChildProcess._handle.onexit (node:internal/child_process:295:12)'
}
2026-05-15 17:01:09 [info] [CCD CycleHealth] unhealthy cycle for local_c02d5003-e5c2-431f-8613-2cf7b7e1c862 (1s, hadFirstResponse=false, reason=no_response)
2026-05-15 17:01:09 [info] LocalSessions.getPrStateForBranch: cwd=/Users/sahajranajee/Documents/Agents/saviynt-agent/.claude/worktrees/pensive-meitner-4c00d0, branch=claude/pensive-meitner-4c00d0
2026-05-15 17:01:09 [info] LocalSessions.getPrStateForBranch: cwd=/Users/sahajranajee/Documents/Agents/saviynt-agent/.claude/worktrees/pensive-meitner-4c00d0, branch=claude/pensive-meitner-4c00d0
2026-05-15 17:01:09 [info] LocalSessions.getPrStateForBranch: cwd=/Users/sahajranajee/Documents/Agents/saviynt-agent/.claude/worktrees/pensive-meitner-4c00d0, branch=claude/pensive-meitner-4c00d0
2026-05-15 17:01:09 [info] LocalSessions.getPrStateForBranch: cwd=/Users/sahajranajee/Documents/Agents/saviynt-agent/.claude/worktrees/pensive-meitner-4c00d0, branch=claude/pensive-meitner-4c00d0
2026-05-15 17:01:33 [info] [Coder] workspace discovery failed: Error: coder CLI not found on augmented PATH
    at zEr (/Applications/Claude.app/Contents/Resources/app.asar/.vite/build/index.js:2409:17320) {
  [stack]: [Getter/Setter],
  [message]: 'coder CLI not found on augmented PATH'
}
2026-05-15 17:01:33 [info] [oauth] looking up token for orgId=094333c9-9005-41a8-ae69-123aba93bb16, cacheKey=9d1c250a-e61b-44d9-88ed-5944d1962f5e:094333c9-9005-41a8-ae69-123aba93bb16:https://api.anthropic.com:user:inference user:file_upload user:profile
2026-05-15 17:01:33 [info] [oauth] using cached token for orgId=094333c9-9005-41a8-ae69-123aba93bb16
2026-05-15 17:01:34 [info] [EventLogging] Flushing 25 events
2026-05-15 17:02:03 [info] [Coder] workspace discovery failed: Error: coder CLI not found on augmented PATH
    at zEr (/Applications/Claude.app/Contents/Resources/app.asar/.vite/build/index.js:2409:17320) {
  [stack]: [Getter/Setter],
  [message]: 'coder CLI not found on augmented PATH'
}
2026-05-15 17:02:03 [info] [oauth] looking up token for orgId=094333c9-9005-41a8-ae69-123aba93bb16, cacheKey=9d1c250a-e61b-44d9-88ed-5944d1962f5e:094333c9-9005-41a8-ae69-123aba93bb16:https://api.anthropic.com:user:inference user:file_upload user:profile
2026-05-15 17:02:03 [info] [oauth] using cached token for orgId=094333c9-9005-41a8-ae69-123aba93bb16
2026-05-15 17:02:32 [info] LocalSessions.checkGhAvailable: cwd=/Users/sahajranajee/Documents/Agents/saviynt-agent
2026-05-15 17:02:32 [info] LocalSessions.getPrStateForBranch: cwd=/Users/sahajranajee/Documents/Agents/saviynt-agent/.claude/worktrees/pensive-meitner-4c00d0, branch=claude/pensive-meitner-4c00d0
2026-05-15 17:02:32 [error] [GitHubPrManager] Failed to get PR state for branch: Failed to spawn gh: spawn gh ENOENT { stack: 'Error: Failed to spawn gh: spawn gh ENOENT\n    at ChildProcess.<anonymous> (/Applications/Claude.app/Contents/Resources/app.asar/.vite/build/index.js:162:109466)\n    at ChildProcess.emit (node:events:521:24)\n    at ChildProcess._handle.onexit (node:internal/child_process:293:12)\n    at onErrorNT (node:internal/child_process:508:16)\n    at process.processTicksAndRejections (node:internal/process/task_queues:90:21)' }
2026-05-15 17:02:33 [info] [Coder] workspace discovery failed: Error: coder CLI not found on augmented PATH
    at zEr (/Applications/Claude.app/Contents/Resources/app.asar/.vite/build/index.js:2409:17320) {
  [stack]: [Getter/Setter],
  [message]: 'coder CLI not found on augmented PATH'
}
2026-05-15 17:02:33 [info] [oauth] looking up token for orgId=094333c9-9005-41a8-ae69-123aba93bb16, cacheKey=9d1c250a-e61b-44d9-88ed-5944d1962f5e:094333c9-9005-41a8-ae69-123aba93bb16:https://api.anthropic.com:user:inference user:file_upload user:profile
2026-05-15 17:02:33 [info] [oauth] using cached token for orgId=094333c9-9005-41a8-ae69-123aba93bb16
2026-05-15 17:02:34 [info] Config file written
2026-05-15 17:02:34 [info] [CCD] LocalSessions.setFocusedSession: sessionId=null
2026-05-15 17:02:34 [info] LocalSessions.stopShellPty: sessionId=local_c02d5003-e5c2-431f-8613-2cf7b7e1c862
2026-05-15 17:02:34 [info] Stopping shell PTY for session local_c02d5003-e5c2-431f-8613-2cf7b7e1c862
2026-05-15 17:02:34 [info] Shell PTY for session local_c0

Steps to Reproduce

  1. Open claude code
  2. Use an existing session or new
  3. Enter any message to claude

Claude Model

Sonnet (default)

Is this a regression?

Yes, this worked in a previous version

Last Working Version

_No response_

Claude Code Version

Version 1.7196.0 (2dbd78)

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

Terminal.app (macOS)

Additional Information

_No response_

View original on GitHub ↗

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