[BUG] ⎿ TypeError: .split is not a function. (In '.split(/(\n|\r\n)/)', '_.split' is undefined)
Resolved 💬 3 comments Opened Mar 23, 2026 by huahuolalala Closed Mar 26, 2026
Preflight Checklist
- [x] I have searched existing issues and this hasn't been reported yet
- [x] This is a single bug report (please file separate reports for different bugs)
- [x] I am using the latest version of Claude Code
What's Wrong?
⎿ TypeError: .split is not a function. (In '.split(/(\n|\r\n)/)', '_.split' is undefined)
use /insight happened
What Should Happen?
⎿ TypeError: .split is not a function. (In '.split(/(\n|\r\n)/)', '_.split' is undefined)
Error Messages/Logs
⎿ TypeError: .split is not a function. (In '.split(/(\n|\r\n)/)', '_.split' is undefined)
Steps to Reproduce
⎿ TypeError: .split is not a function. (In '.split(/(\n|\r\n)/)', '_.split' is undefined)
Claude Model
None
Is this a regression?
Yes, this worked in a previous version
Last Working Version
_No response_
Claude Code Version
latest
Platform
Anthropic API
Operating System
macOS
Terminal/Shell
Terminal.app (macOS)
Additional Information
_No response_
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗