[BUG] https://github.com/anthropics/claude-code/issues/new

Resolved 💬 3 comments Opened May 15, 2026 by Moriarty-Shylock Closed May 18, 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.1.142
OS: Windows 10 Pro 10.0.19044
Install method: npm global install

Description:
Every few minutes, the following error appears in the terminal:

undefined is not an object (evaluating 'H.command')
B:/~BUN/root/src/entrypoints/cli.js:4990:2983 - isSearchOrReadCommand
...

Steps to reproduce:
Just run claude and wait a few minutes — the error appears automatically without any specific action.

Expected behavior:
No error output.

Actual behavior:
Recurring error every few minutes, originating from the bundled Bun runtime.

What Should Happen?

undefined is not an object (evaluating 'H.command')B:/~BUN/root/src/entrypoints/cli.js:4990:2983 - isSearchOrReadCommand
(B:/~BUN/root/src/entrypoints/cli.js:4990:2983)

  • NNH (B:/~BUN/root/src/entrypoints/cli.js:5062:773)
  • lP8 (B:/~BUN/root/src/entrypoints/cli.js:5062:1051)
  • O9A (B:/~BUN/root/src/entrypoints/cli.js:5062:1530)
  • M9A (B:/~BUN/root/src/entrypoints/cli.js:5062:1418)
  • o8_ (B:/~BUN/root/src/entrypoints/cli.js:5063:2627)
  • <anonymous> (B:/~BUN/root/src/entrypoints/cli.js:6671:15477)
  • Gw (B:/~BUN/root/src/entrypoints/cli.js:581:30335)
  • <anonymous> (B:/~BUN/root/src/entrypoints/cli.js:569:11097)
  • $GA (B:/~BUN/root/src/entrypoints/cli.js:6671:15196

Error Messages/Logs

Steps to Reproduce

1

Claude Model

None

Is this a regression?

Yes, this worked in a previous version

Last Working Version

_No response_

Claude Code Version

2.1.142 (Claude Code)

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

Terminal.app (macOS)

Additional Information

_No response_

View original on GitHub ↗

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