/insights command crashes with TypeError: undefined is not an object

Status Fixed / completed
Reported on v2.1.34
Maintainer reply None cached
Activity 3 comments · opened Feb 6, 2026 · closed Feb 6, 2026

Bug Description

Running the /insights command in Claude Code crashes with the following error:

TypeError: undefined is not an object (evaluating 'Object.keys(b)')

Steps to Reproduce

  1. Open Claude Code CLI
  2. Run /insights
  3. Command crashes immediately with the TypeError

Expected Behavior

The /insights command should display session insights/analytics.

Environment

  • Claude Code version: 2.1.34
  • OS: macOS (Darwin 25.0.0)

View original on GitHub ↗

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