[Bug] File Write Tool Not Functioning - Code Output Skipped
Resolved 💬 3 comments Opened Sep 22, 2025 by kkeeling Closed Jan 10, 2026
Bug Description
For whatever reason, this version of Claude code refuses to use the File Write tool. It just keeps outputting code directly to Standard Out, so I can read it, but it's not creating files.
Environment Info
- Platform: darwin
- Terminal: WarpTerminal
- Version: 1.0.120
- Feedback ID:
Errors
[{"error":"Error: Language not supported while highlighting code, falling back to markdown: undefined\n at iV (file:///Users/codeshack-x/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:1794:1184)\n at file:///Users/codeshack-x/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:1794:912\n at Array.map (<anonymous>)\n at TX (file:///Users/codeshack-x/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:1794:903)\n at oCB (file:///Users/codeshack-x/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:3032:9581)\n at QC (file:///Users/codeshack-x/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:84:19415)\n at Jp (file:///Users/codeshack-x/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:86:42814)\n at W9 (file:///Users/codeshack-x/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:86:38355)\n at Hh (file:///Users/codeshack-x/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:86:38283)\n at zC (file:///Users/codeshack-x/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:86:38137)","timestamp":"2025-09-22T23:11:41.263Z"},{"error":"Error: Language not supported while highlighting code, falling back to markdown: undefined\n at iV (file:///Users/codeshack-x/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:1794:1184)\n at file:///Users/codeshack-x/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:1794:912\n at Array.map (<anonymous>)\n at TX (file:///Users/codeshack-x/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:1794:903)\n at oCB (file:///Users/codeshack-x/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:3032:9581)\n at QC (file:///Users/codeshack-x/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:84:19415)\n at Jp (file:///Users/codeshack-x/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:86:42814)\n at W9 (file:///Users/codeshack-x/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:86:38355)\n at Hh (file:///Users/codeshack-x/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:86:38283)\n at zC (file:///Users/codeshack-x/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:86:38137)","timestamp":"2025-09-22T23:13:49.736Z"},{"error":"Error: Language not supported while highlighting code, falling back to markdown: undefined\n at iV (file:///Users/codeshack-x/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:1794:1184)\n at file:///Users/codeshack-x/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:1794:912\n at Array.map (<anonymous>)\n at TX (file:///Users/codeshack-x/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:1794:903)\n at oCB (file:///Users/codeshack-x/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:3032:9581)\n at QC (file:///Users/codeshack-x/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:84:19415)\n at Jp (file:///Users/codeshack-x/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:86:42814)\n at W9 (file:///Users/codeshack-x/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:86:38355)\n at Hh (file:///Users/codeshack-x/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:86:38283)\n at zC (file:///Users/codeshack-x/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:86:38137)","timestamp":"2025-09-22T23:14:41.877Z"},{"error":"AxiosError: Request failed with status code 403\n at MN (file:///Users/codeshack-x/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:715:1077)\n at Unzip.J0 (file:///Users/codeshack-x/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:716:9955)\n at Unzip.emit (node:events:530:35)\n at Unzip.emit (node:domain:489:12)\n at endReadableNT (node:internal/streams/readable:1698:12)\n at process.processTicksAndRejections (node:internal/process/task_queues:90:21)\n at OQ1.request (file:///Users/codeshack-x/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:718:2088)\n at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n at async KB5 (file:///Users/codeshack-x/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:1986:480)\n at async Promise.all (index 0)\n at async file:///Users/codeshack-x/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:1972:6855","timestamp":"2025-09-22T23:16:16.134Z"}]This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗