/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
- Open Claude Code CLI
- Run
/insights - 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)
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗