[BUG] claude code does not start on big endian systems (linux on z, z/OS, AIX)
Resolved 💬 3 comments Opened Oct 22, 2025 by IgorTodorovskiIBM Closed Jan 11, 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 claude is invoked on linux on z, I get:
This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason:
UnboundTypeError: Cannot call Node.createDefault due to unbound types: 0x4c1b0000
at Error.<anonymous> (file:///root/node-v22.19.0-linux-s390x/lib/node_modules/@anthropic-ai/claude-code/cli.js:79:7908)
at new <anonymous> (file:///root/node-v22.19.0-linux-s390x/lib/node_modules/@anthropic-ai/claude-code/cli.js:79:7706)
at p3 (file:///root/node-v22.19.0-linux-s390x/lib/node_modules/@anthropic-ai/claude-code/cli.js:80:5653)
at Function.BA [as createDefault] (file:///root/node-v22.19.0-linux-s390x/lib/node_modules/@anthropic-ai/claude-code/cli.js:80:13892)
at Function.<anonymous> (file:///root/node-v22.19.0-linux-s390x/lib/node_modules/@anthropic-ai/claude-code/cli.js:79:3485)
at B.G.<computed> [as create] (file:///root/node-v22.19.0-linux-s390x/lib/node_modules/@anthropic-ai/claude-code/cli.js:79:2225)
at jM1 (file:///root/node-v22.19.0-linux-s390x/lib/node_modules/@anthropic-ai/claude-code/cli.js:90:3426)
at new DO1 (file:///root/node-v22.19.0-linux-s390x/lib/node_modules/@anthropic-ai/claude-code/cli.js:193:5148)
at file:///root/node-v22.19.0-linux-s390x/lib/node_modules/@anthropic-ai/claude-code/cli.js:193:7383
at AT9 (file:///root/node-v22.19.0-linux-s390x/lib/node_modules/@anthropic-ai/claude-code/cli.js:193:7639)
q^CTypeError: this.renderer is not a function
at DO1.onRender (file:///root/node-v22.19.0-linux-s390x/lib/node_modules/@anthropic-ai/claude-code/cli.js:193:5768)
at DO1.unmount (file:///root/node-v22.19.0-linux-s390x/lib/node_modules/@anthropic-ai/claude-code/cli.js:193:6220)
at tUA.emit (file:///root/node-v22.19.0-linux-s390x/lib/node_modules/@anthropic-ai/claude-code/cli.js:43:1641)
at #I (file:///root/node-v22.19.0-linux-s390x/lib/node_modules/@anthropic-ai/claude-code/cli.js:43:3804)
at #Q.emit (file:///root/node-v22.19.0-linux-s390x/lib/node_modules/@anthropic-ai/claude-code/cli.js:43:3221)
at process.exit (node:internal/process/per_thread:240:15)
at process.<anonymous> (file:///root/node-v22.19.0-linux-s390x/lib/node_modules/@anthropic-ai/claude-code/cli.js:3735:791)
at process.emit (node:events:531:35)
at process.emit (node:domain:489:12)
Gemini CLI also has this problem and it can be worked around by building yoga wasm (from ink dependency) as big endian.
Here is the PR for that: https://github.com/facebook/yoga/issues/1859
What Should Happen?
claude should execute normally
Error Messages/Logs
Steps to Reproduce
- login to a linux on z system
- install claude via instructions
- claude
Claude Model
None
Is this a regression?
Yes, this worked in a previous version
Last Working Version
_No response_
Claude Code Version
2.0.25 (Claude Code)
Platform
Anthropic API
Operating System
Other Linux
Terminal/Shell
Terminal.app (macOS)
Additional Information
_No response_
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗