[BUG] `npm run build` broke claude code formatting
iTerm2, macOS, version: 1.0.31 (Claude Code)
Every single line got wrong after that.
Running npm run build freezes my whole terminal:
The prompt’s seconds stop updating.
- I can’t type anything, and
Ctrl + CorEschave no effect. - Re-opening the WSL window hangs before the prompt appears; only shutting down WSL entirely and starting it again restores the terminal.
Does this sound like the same bug others are seeing, or could it be a Windows-specific issue?
You are at the wrong issue
Yeah but you ran npm run build and you got issues with it, right?
The issue in my case was related to styling. In your case it is unrelated to styling.
Found 3 possible duplicate issues:
- https://github.com/anthropics/claude-code/issues/1341
- https://github.com/anthropics/claude-code/issues/2225
- https://github.com/anthropics/claude-code/issues/5780
This issue will be automatically closed as a duplicate in 3 days.
- If your issue is a duplicate, please close it and 👍 the existing issue instead
- To prevent auto-closure, add a comment or 👎 this comment
🤖 Generated with Claude Code
This issue has been automatically closed as a duplicate of #1341.
If this is incorrect, please re-open this issue or create a new one.
🤖 Generated with Claude Code
This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.