[Bug] Agent corrupts generated code during execution
Resolved 💬 3 comments Opened Feb 26, 2026 by jasonhowie Closed Mar 3, 2026
Bug Description
Claude corrupted its own work.
Environment Info
- Platform: win32
- Terminal: null
- Version: 2.1.59
- Feedback ID: 50d6d023-7f3f-4c0d-b189-783c899bb71e
Errors
[{"error":"Error\n at Du (B:/~BUN/root/claude.exe:92:1144)\n at <anonymous> (B:/~BUN/root/claude.exe:93:10067)\n at emit (node:events:92:22)\n at endReadableNT (internal:streams/readable:861:50)\n at processTicksAndRejections (native:7:39)\n at request (B:/~BUN/root/claude.exe:95:2149)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-02-26T15:02:19.221Z"},{"error":"Error\n at Du (B:/~BUN/root/claude.exe:92:1144)\n at <anonymous> (B:/~BUN/root/claude.exe:93:10067)\n at emit (node:events:92:22)\n at endReadableNT (internal:streams/readable:861:50)\n at processTicksAndRejections (native:7:39)\n at request (B:/~BUN/root/claude.exe:95:2149)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-02-26T15:02:20.299Z"},{"error":"Error: LSP server plugin:typescript-lsp:typescript failed to start: ENOENT: no such file or directory, uv_spawn 'typescript-language-server'\n at start (B:/~BUN/root/claude.exe:2692:22116)\n at async E (B:/~BUN/root/claude.exe:2692:24428)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-02-26T15:02:21.278Z"},{"error":"Error: ENOENT: no such file or directory, uv_spawn 'typescript-language-server'\n at spawn (unknown)\n at spawn (node:child_process:679:35)\n at spawn (node:child_process:14:39)\n at start (B:/~BUN/root/claude.exe:2692:20642)\n at E (B:/~BUN/root/claude.exe:2692:24428)\n at L (B:/~BUN/root/claude.exe:2692:32556)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-02-26T15:02:21.278Z"},{"error":"Error: Failed to start LSP server plugin:typescript-lsp:typescript: ENOENT: no such file or directory, uv_spawn 'typescript-language-server'\n at <anonymous> (B:/~BUN/root/claude.exe:2692:32578)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-02-26T15:02:21.279Z"},{"error":"ConfigParseError: JSON Parse error: Unexpected EOF\n at g$H (B:/~BUN/root/claude.exe:6269:7698)\n at BA (B:/~BUN/root/claude.exe:6269:3774)\n at E_0 (B:/~BUN/root/claude.exe:141:4507)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-02-26T15:06:14.553Z"},{"error":"ConfigParseError: JSON Parse error: Unexpected EOF\n at g$H (B:/~BUN/root/claude.exe:6269:7698)\n at P$ (B:/~BUN/root/claude.exe:6269:4734)\n at Sq (B:/~BUN/root/claude.exe:6282:1522)\n at AyE (B:/~BUN/root/claude.exe:6263:6412)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-02-26T15:06:33.673Z"},{"error":"ConfigParseError: JSON Parse error: Unexpected EOF\n at g$H (B:/~BUN/root/claude.exe:6269:7698)\n at P$ (B:/~BUN/root/claude.exe:6269:4734)\n at Sq (B:/~BUN/root/claude.exe:6282:1522)\n at AyE (B:/~BUN/root/claude.exe:6263:6412)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-02-26T15:06:48.633Z"},{"error":"Error: File does not exist. Note: your current working directory is C:\\Apprentice.\n at call (B:/~BUN/root/claude.exe:1816:6345)\n at async <anonymous> (B:/~BUN/root/claude.exe:6211:1856)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-02-26T15:07:47.376Z"},{"error":"Error: File does not exist. Note: your current working directory is C:\\Apprentice.\n at call (B:/~BUN/root/claude.exe:1816:6345)\n at async <anonymous> (B:/~BUN/root/claude.exe:6211:1856)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-02-26T15:07:50.942Z"},{"error":"Error: File does not exist. Note: your current working directory is C:\\Apprentice.\n at call (B:/~BUN/root/claude.exe:1816:6345)\n at async <anonymous> (B:/~BUN/root/claude.exe:6211:1856)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-02-26T15:07:50.999Z"},{"error":"ConfigParseError: JSON Parse error: Unexpected EOF\n at g$H (B:/~BUN/root/claude.exe:6269:7698)\n at BA (B:/~BUN/root/claude.exe:6269:3774)\n at E_0 (B:/~BUN/root/claude.exe:141:4507)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-02-26T15:08:00.197Z"},{"error":"ConfigParseError: JSON Parse error: Unexpected EOF\n at g$H (B:/~BUN/root/claude.exe:6269:7698)\n at BA (B:/~BUN/root/claude.exe:6269:3774)\n at E_0 (B:/~BUN/root/claude.exe:141:4507)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-02-26T15:08:00.246Z"},{"error":"ConfigParseError: JSON Parse error: Unexpected EOF\n at g$H (B:/~BUN/root/claude.exe:6269:7698)\n at BA (B:/~BUN/root/claude.exe:6269:3774)\n at E_0 (B:/~BUN/root/claude.exe:141:4507)\n at processTicksAndRejections (nativ…
Note: Content was truncated.
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗