[BUG] Regression introduced in 2.0.30 causes startup initialization errors

Resolved 💬 7 comments Opened Nov 1, 2025 by chrisbarrett Closed Jan 26, 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?

Version 2.0.30 introduced a regression, where the presence of a ~/.claude.json with authentication properties set seems to cause crashes under unclear circumstances. I haven't identified what the exact setting is, but I can repro this issue for both Pro plan and oauth'ed API key sessions.

This is using the native installer.

What Should Happen?

Claude should start without errors.

Error Messages/Logs

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:
TypeError: null is not an object (evaluating 'D.history')
    at $f0 (/$bunfs/root/claude:3607:15775)
    at xA (/$bunfs/root/claude:3607:15307)
    at <anonymous> (/$bunfs/root/claude:3621:8562)
    at processTicksAndRejections (native:7:39)
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:
TypeError: null is not an object (evaluating 'D.history')
    at $f0 (/$bunfs/root/claude:3607:15775)
    at xA (/$bunfs/root/claude:3607:15307)
    at <anonymous> (/$bunfs/root/claude:3621:8562)
    at processTicksAndRejections (native:7:39)
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:
TypeError: null is not an object (evaluating 'D.history')
    at $f0 (/$bunfs/root/claude:3607:15775)
    at xA (/$bunfs/root/claude:3607:15307)
    at <anonymous> (/$bunfs/root/claude:3621:8562)
    at processTicksAndRejections (native:7:39)

Steps to Reproduce

  1. switch to version 2.0.29: claude install 2.0.29
  2. Run ~/.local/bin/claude --version; ~/.local/claude -p '*dentisting* say aaaah'
  3. observe that claude shows its teeth to the user.

```bash
2.0.29 (Claude Code)
Aaaah! 🦷

Opens wide
```

  1. Bump to 2.0.30: claude install 2.0.30
  2. Run ~/.local/bin/claude --version; ~/.local/claude -p '*dentisting* say aaaah'
  3. Observe that claude encounters async errors on startup; it may still eventually do some inference and print results before exiting successfully.

```bash
Version: 2.0.30

Location: ~/.local/bin/claude

Next: Run claude --help to get started
2.0.30 (Claude Code)
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:
TypeError: null is not an object (evaluating 'D.history')
at $f0 (/$bunfs/root/claude:3607:15775)
at xA (/$bunfs/root/claude:3607:15307)
at <anonymous> (/$bunfs/root/claude:3621:8562)
at processTicksAndRejections (native:7:39)
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:
TypeError: null is not an object (evaluating 'D.history')
at $f0 (/$bunfs/root/claude:3607:15775)
at xA (/$bunfs/root/claude:3607:15307)
at <anonymous> (/$bunfs/root/claude:3621:8562)
at processTicksAndRejections (native:7:39)
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:
TypeError: null is not an object (evaluating 'D.history')
at $f0 (/$bunfs/root/claude:3607:15775)
at xA (/$bunfs/root/claude:3607:15307)
at <anonymous> (/$bunfs/root/claude:3621:8562)
at processTicksAndRejections (native:7:39)
Aaaah! 😁

How can I help you today?
```

Claude Model

Sonnet (default)

Is this a regression?

Yes, this worked in a previous version

Last Working Version

2.0.29

Claude Code Version

2.0.31

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

Other

Additional Information

_No response_

View original on GitHub ↗

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