/insights command crashes with TypeError: undefined is not an object
Resolved 💬 3 comments Opened Feb 6, 2026 by 0x7B5 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 ↗