claude-code - 💡(How to fix) Fix [BUG] Claude Cowork and Claude Code Desktop App exit with Claude Code process exited with code 1 on any message

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…

Error Message

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

Code Example

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
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?

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

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 Cowork and Claude Code Desktop App exit with Claude Code process exited with code 1 on any message