claude-code icon indicating copy to clipboard operation
claude-code copied to clipboard

[BUG] `npm run build` broke claude code formatting

Open bernaferrari opened this issue 6 months ago • 4 comments

Image

iTerm2, macOS, version: 1.0.31 (Claude Code)

Every single line got wrong after that.

bernaferrari avatar Jun 23 '25 17:06 bernaferrari

Running npm run build freezes my whole terminal:

The prompt’s seconds stop updating.

  • I can’t type anything, and Ctrl + C or Esc have 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?

Image

Image

Lefays avatar Jun 27 '25 13:06 Lefays

You are at the wrong issue

bernaferrari avatar Jun 27 '25 15:06 bernaferrari

Yeah but you ran npm run build and you got issues with it, right?

Lefays avatar Jun 28 '25 14:06 Lefays

The issue in my case was related to styling. In your case it is unrelated to styling.

bernaferrari avatar Jun 28 '25 15:06 bernaferrari

Found 3 possible duplicate issues:

  1. https://github.com/anthropics/claude-code/issues/1341
  2. https://github.com/anthropics/claude-code/issues/2225
  3. 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

github-actions[bot] avatar Aug 16 '25 06:08 github-actions[bot]

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

github-actions[bot] avatar Aug 21 '25 09:08 github-actions[bot]

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.

github-actions[bot] avatar Aug 29 '25 14:08 github-actions[bot]