/insights command throws TypeError: H.indexOf is not a function
Resolved 💬 6 comments Opened Apr 18, 2026 by sun-chong Closed May 8, 2026
Describe the Bug
When I run the /insights command in Claude Code, the application directly throws an error instead of functioning normally.
Error Message
TypeError: H.indexOf is not a function. (In 'H.indexOf($,q)', 'H.indexOf' is undefined)
Steps to Reproduce
- Start Claude Code CLI
- Run the
/insightscommand - Observe the TypeError being thrown
Expected Behavior
The /insights command should work normally without throwing errors.
Environment
- Claude Code CLI version: v2.1.114
- Platform: Windows 11 Pro
- Terminal: Windows Terminal 1.23.20211.0
- Also occurs in VS Code terminal
Additional Context
- This issue was first detected starting from version v2.1.110
- The bug still persists in the current version v2.1.114
- The
/insightscommand is completely unusable due to this error
This issue has 6 comments on GitHub. Read the full discussion on GitHub ↗