[BUG] CLI crashes when rendering large analytical output, highlight.js dumps to terminal
Resolved 💬 3 comments Opened Apr 3, 2026 by Raptormeat Closed Apr 6, 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?
Claude CLI has crashed 3 times for me in just a few hours. Each time it was dealing with a large amount of text - the first 2 times when building my project after cleaning, and the final time while running analysis agents. Each time it produced a gigantic wall of text with a stack trace at the bottom.
What Should Happen?
It shouldn't crash
Error Messages/Logs
- d (B:/~BUN/root/src/entrypoints/cli.js:1382:2087)
- GtK (B:/~BUN/root/src/entrypoints/cli.js:2822:6424)
- render (B:/~BUN/root/src/entrypoints/cli.js:2824:2254)
- Wm4 (B:/~BUN/root/src/entrypoints/cli.js:2828:1456)
- <anonymous> (B:/~BUN/root/src/entrypoints/cli.js:2828:2145)
- w9 (B:/~BUN/root/src/entrypoints/cli.js:499:20983)
- $M (B:/~BUN/root/src/entrypoints/cli.js:499:39521)
- UH (B:/~BUN/root/src/entrypoints/cli.js:499:36890)
- gH (B:/~BUN/root/src/entrypoints/cli.js:499:36418)
- Zk (B:/~BUN/root/src/entrypoints/cli.js:499:52606)
Steps to Reproduce
there's no way for me to do this, I would need to share my whole project. It's happening so much I have to believe it would happen with another project of large size as well.
Claude Model
Opus
Is this a regression?
Yes, this worked in a previous version
Last Working Version
_No response_
Claude Code Version
2.1.91
Platform
Anthropic API
Operating System
Windows
Terminal/Shell
PowerShell
Additional Information
_No response_
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗