[BUG] CC 2.0.75 macOS 26.2 M4 fails `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().`
Resolved 💬 4 comments Opened Dec 21, 2025 by twardoch Closed Dec 21, 2025
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?
Claude Code 2.0.75 on macOS 26.2 (25C56) on MacBook Pro M4 Max fails to run.
What Should Happen?
Claude Code 2.0.75 on macOS 26.2 (25C56) on MacBook Pro M4 Max should run.
Error Messages/Logs
$ brew install --cask claude-code
=> Installing Cask claude-code
==> Linking Binary 'claude' to '/opt/homebrew/bin/claude'
🍺 claude-code was successfully installed!
[18:00:29] $ claude
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:
Error: Path contains null bytes
at VD (/$bunfs/root/claude:79:1623)
at D (/$bunfs/root/claude:1535:5900)
at D (/$bunfs/root/claude:1535:5943)
at D (/$bunfs/root/claude:1535:5943)
at FF7 (/$bunfs/root/claude:1535:5985)
at bj (/$bunfs/root/claude:1535:6211)
at bj (/$bunfs/root/claude:1535:6273)
at bj (/$bunfs/root/claude:1535:6273)
at <anonymous> (/$bunfs/root/claude:1541:697)
at A (/$bunfs/root/claude:11:6978)
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:
Error: Path contains null bytes
at VD (/$bunfs/root/claude:79:1623)
at D (/$bunfs/root/claude:1535:5900)
at D (/$bunfs/root/claude:1535:5943)
at D (/$bunfs/root/claude:1535:5943)
at FF7 (/$bunfs/root/claude:1535:5985)
at bj (/$bunfs/root/claude:1535:6211)
at bj (/$bunfs/root/claude:1535:6273)
at bj (/$bunfs/root/claude:1535:6273)
at <anonymous> (/$bunfs/root/claude:1541:697)
at A (/$bunfs/root/claude:11:6978)
$ npm install -g @anthropic-ai/claude-code
$ /opt/homebrew/Cellar/node/25.2.1/bin/claude
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:
Error: Path contains null bytes
at q4 (file:///opt/homebrew/Cellar/node/25.2.1/lib/node_modules/@anthropic-ai/claude-code/cli.js:76:1633)
at Y (file:///opt/homebrew/Cellar/node/25.2.1/lib/node_modules/@anthropic-ai/claude-code/cli.js:1600:5989)
at Y (file:///opt/homebrew/Cellar/node/25.2.1/lib/node_modules/@anthropic-ai/claude-code/cli.js:1600:6026)
at Y (file:///opt/homebrew/Cellar/node/25.2.1/lib/node_modules/@anthropic-ai/claude-code/cli.js:1600:6026)
at NI5 (file:///opt/homebrew/Cellar/node/25.2.1/lib/node_modules/@anthropic-ai/claude-code/cli.js:1600:6068)
at bk (file:///opt/homebrew/Cellar/node/25.2.1/lib/node_modules/@anthropic-ai/claude-code/cli.js:1600:6292)
at bk (file:///opt/homebrew/Cellar/node/25.2.1/lib/node_modules/@anthropic-ai/claude-code/cli.js:1600:6355)
at bk (file:///opt/homebrew/Cellar/node/25.2.1/lib/node_modules/@anthropic-ai/claude-code/cli.js:1600:6355)
at file:///opt/homebrew/Cellar/node/25.2.1/lib/node_modules/@anthropic-ai/claude-code/cli.js:1606:659
at B (file:///opt/homebrew/Cellar/node/25.2.1/lib/node_modules/@anthropic-ai/claude-code/cli.js:8:6526)
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:
Error: Path contains null bytes
at q4 (file:///opt/homebrew/Cellar/node/25.2.1/lib/node_modules/@anthropic-ai/claude-code/cli.js:76:1633)
at Y (file:///opt/homebrew/Cellar/node/25.2.1/lib/node_modules/@anthropic-ai/claude-code/cli.js:1600:5989)
at Y (file:///opt/homebrew/Cellar/node/25.2.1/lib/node_modules/@anthropic-ai/claude-code/cli.js:1600:6026)
at Y (file:///opt/homebrew/Cellar/node/25.2.1/lib/node_modules/@anthropic-ai/claude-code/cli.js:1600:6026)
at NI5 (file:///opt/homebrew/Cellar/node/25.2.1/lib/node_modules/@anthropic-ai/claude-code/cli.js:1600:6068)
at bk (file:///opt/homebrew/Cellar/node/25.2.1/lib/node_modules/@anthropic-ai/claude-code/cli.js:1600:6292)
at bk (file:///opt/homebrew/Cellar/node/25.2.1/lib/node_modules/@anthropic-ai/claude-code/cli.js:1600:6355)
at bk (file:///opt/homebrew/Cellar/node/25.2.1/lib/node_modules/@anthropic-ai/claude-code/cli.js:1600:6355)
at file:///opt/homebrew/Cellar/node/25.2.1/lib/node_modules/@anthropic-ai/claude-code/cli.js:1606:659
at B (file:///opt/homebrew/Cellar/node/25.2.1/lib/node_modules/@anthropic-ai/claude-code/cli.js:8:6526)
Steps to Reproduce
Install and try to run claude
Claude Model
Not sure / Multiple models
Is this a regression?
Yes, this worked in a previous version
Last Working Version
2.0.74
Claude Code Version
2.0.75
Platform
Anthropic API
Operating System
macOS
Terminal/Shell
iTerm2
Additional Information
_No response_
This issue has 4 comments on GitHub. Read the full discussion on GitHub ↗