TypeError: Cannot convert undefined or null to object when running /insights command

Status Fixed / completed
Maintainer reply None cached
Activity 2 comments · opened Feb 11, 2026 · closed Feb 11, 2026

Description

Running the /insights command in Claude Code CLI throws a TypeError.

Steps to Reproduce

  1. Open Claude Code in any project
  2. Run /insights

Expected Behavior

The /insights command should display insights or a helpful message.

Actual Behavior

TypeError: Cannot convert undefined or null to object

The error is output to stderr and no insights are displayed.

Environment

  • OS: Linux 6.8.0-90-generic
  • Claude Code: Latest version
  • Shell: bash/zsh

View original on GitHub ↗

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