[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().`

Status Fixed / completed
Reported on v2.0.74
Maintainer reply None cached
Activity 4 comments · opened Dec 21, 2025 · 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_

View original on GitHub ↗

4 Comments

github-actions[bot] · 9 months ago

Found 1 possible duplicate issue:

  1. https://github.com/anthropics/claude-code/issues/6977

This issue will be automatically closed as a duplicate in 3 days.

  • If your issue is a duplicate, please close it and 👍 the existing issue instead
  • To prevent auto-closure, add a comment or 👎 this comment

🤖 Generated with Claude Code

twardoch · 9 months ago

Turns out the problem was that CLAUDE.md contained an @-prefixed link to a nonexistent Markdown file.

iradisson · 9 months ago

Hi,
I just experienced this but it went away on its own, after 20 minutes or so. It was not related to claude.md at all, and I don't even know how you would reach that conclusion, if you know how then please share @twardoch .
I did reload CC a few times.

github-actions[bot] · 9 months ago

This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.