[BUG] Cannot read properties of undefined (reading 'speed')

Resolved 💬 3 comments Opened Apr 8, 2026 by alexangelzhang Closed Apr 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?

在 ~/.claude 目录下使用 Claude Code 时,statusline 偶尔显示 Cannot read properties of undefined (reading 'speed'),使用了 claude-hud插件 v0.0.11。没有完整 stack trace 因为 catch 块只输出了 error.message。

What Should Happen?

在 ~/.claude 目录下使用 Claude Code 时,statusline 偶尔显示 Cannot read properties of undefined (reading 'speed'),使用了 claude-hud插件 v0.0.11。

Error Messages/Logs

没有完整 stack trace 因为 catch 块只输出了 error.message。

Steps to Reproduce

None

Claude Model

Not sure / Multiple models

Is this a regression?

Yes, this worked in a previous version

Last Working Version

2.1.92

Claude Code Version

2.1.92

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 ↗