[BUG] Claude Code process exited with code 127

Resolved 💬 4 comments Opened May 8, 2026 by joewheeler Closed May 13, 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?

I'm setting up Claude desktop on a new MackBook Air (specs below) and have no issues with Chat, but Cowork and Code will not run, regardless of everything being installed correctly. I did troubleshooting in Chat extensively and it finally recommended a bug be filed.

Any command in Cowork shows "Claude Code process exited with code 127"
Code also incorrectly reports "binary doesn't match architecture" despite both being ARM64

macOS Tahoe 26.4, Apple Silicon
Node.js v24.15.0 via nvm, ARM64
Claude Code 2.1.133, ARM64 binary
PATH correctly set via launchctl

/Users/joewheeler/.nvm/versions/node/v24.15.0/bin:/Users/joewheeler/.nvm/versions/node/v24.15.0/bin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/opt/pkg/env/active/bin:/opt/pmk/env/global/bin:/Library/Apple/usr/bin

What Should Happen?

Claude Cowork and Code should accept commands and they are not.

Error Messages/Logs

Claude Code process exited with code 127

The Claude Code binary doesn't match this computer's architecture. Reinstall Claude Desktop for your platform.

Claude Code process exited with code 127

Steps to Reproduce

Install Claude desktop app on a new MacBook Air (Silicon) and try to use Cowork and Code.

macOS Tahoe 26.4, Apple Silicon
Node.js v24.15.0 via nvm, ARM64
Claude Code 2.1.133, ARM64 binary

Claude Model

Not sure / Multiple models

Is this a regression?

No, this never worked

Last Working Version

_No response_

Claude Code Version

Claude Code 2.1.133, ARM64 binary

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

Terminal.app (macOS)

Additional Information

<img width="1255" height="131" alt="Image" src="https://github.com/user-attachments/assets/0935956f-5ef5-48c0-9a42-a4c09e0bc6a0" />
<img width="564" height="214" alt="Image" src="https://github.com/user-attachments/assets/931a6bf8-e67c-4ff0-83eb-fa86ff6c983f" />

View original on GitHub ↗

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