[Bug] Build command interprets exit code 0 as success regardless of output when running NPM RUN Build

Resolved 💬 4 comments Opened Jan 29, 2026 by GrindstoneDesign Closed Mar 1, 2026

Bug Description
almost every feature i have has build errors and CC cant catch them even when i point it out and tell it to run build.it reads output 0 as success

Environment Info

  • Platform: win32
  • Terminal: cursor
  • Version: 2.1.23
  • Feedback ID: b26ae6cc-3f35-4439-8337-e5f079f572b6

Errors

[{"error":"Error: ENOENT: no such file or directory, scandir 'C:\\ProgramData\\ClaudeCode\\.claude\\skills'\n    at readdirSync (unknown)\n    at <anonymous> (B:/~BUN/root/claude.exe:12:2063)\n    at nX (B:/~BUN/root/claude.exe:11:35715)\n    at readdirSync (B:/~BUN/root/claude.exe:12:2024)\n    at K6$ (B:/~BUN/root/claude.exe:1802:380)\n    at K6$ (B:/~BUN/root/claude.exe:1802:1350)\n    at <anonymous> (B:/~BUN/root/claude.exe:1802:4670)\n    at <anonymous> (B:/~BUN/root/claude.exe:1802:5401)\n    at A (B:/~BUN/root/claude.exe:11:7259)\n    at $SE (B:/~BUN/root/claude.exe:4812:4342)","timestamp":"2026-01-29T18:32:51.874Z"},{"error":"Error: ENOENT: no such file or directory, open 'C:\\Users\\James\\SEO Multi Tool\\SEO-MultiTool\\.claude\\settings.json'\n    at openSync (unknown)\n    at <anonymous> (B:/~BUN/root/claude.exe:12:947)\n    at nX (B:/~BUN/root/claude.exe:11:35715)\n    at readSync (B:/~BUN/root/claude.exe:12:875)\n    at aX (B:/~BUN/root/claude.exe:5163:113)\n    at IX (B:/~BUN/root/claude.exe:5165:226)\n    at TLf (B:/~BUN/root/claude.exe:5160:1916)\n    at <anonymous> (B:/~BUN/root/claude.exe:5270:4213)","timestamp":"2026-01-29T18:32:58.607Z"},{"error":"Error: Request was aborted.\n    at Z3$ (B:/~BUN/root/claude.exe:1707:44936)\n    at dAf (B:/~BUN/root/claude.exe:5081:1843)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-01-29T19:38:19.023Z"},{"error":"Error: Compaction interrupted · This may be due to network issues — please try again.\n    at t7E (B:/~BUN/root/claude.exe:3137:5388)\n    at async Y7H (unknown)\n    at async UjI (unknown)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-01-29T19:38:19.028Z"},{"error":"Error: Request was aborted.\n    at Z3$ (B:/~BUN/root/claude.exe:1707:44936)\n    at dAf (B:/~BUN/root/claude.exe:5081:1843)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-01-29T19:38:19.113Z"}]

View original on GitHub ↗

This issue has 4 comments on GitHub. Read the full discussion on GitHub ↗