[BUG] Claude Code process exited with code 127

Resolved 💬 3 comments Opened May 5, 2026 by ezraservino14-eng Closed May 8, 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?

Whenever I use Claude Cowork and Code, it shows "Claude Code process exited with code 127" and doesnt run. But my chat still works.

What Should Happen?

Claude should fix whatever is wrong with this, because I've asked chat to give me solutions to this problem and I tried it all, at the end it told me it is a Claude bug that needs to be fixed.

Error Messages/Logs

Claude Code process exited with code 127

Steps to Reproduce

  1. Open a project in Cowork

2.Give him deatils about the end result you want
3.Enter

  1. then it shows: Claude Code process exited with code 127

Claude Model

Sonnet (default)

Is this a regression?

Yes, this worked in a previous version

Last Working Version

v2.1.81

Claude Code Version

2.1.126

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 ↗