Claude terminal red
Resolved 💬 3 comments Opened Mar 3, 2026 by antarahebbar Closed Mar 7, 2026
Bug Description
One of my CLI tools reported an error, which turns the terminal red for just for the error itself. Claude coloring got messed up because it and now claude is fully red, even apart from the error returned by the cli tool
<img width="1408" height="672" alt="Image" src="https://github.com/user-attachments/assets/46bc8ba5-a435-472a-b07c-91022d8b59f8" />
Environment Info
- Platform: darwin
- Terminal: cursor
- Version: 1.0.120
- Feedback ID:
Errors
[{"error":"Error: 404 {\"type\":\"error\",\"error\":{\"type\":\"not_found_error\",\"message\":\"model: claude-3-5-haiku-20241022\"},\"request_id\":\"req_011CYgg5gaPLPTDqqZijYWEV\"}\n at i9.generate (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:992:2516)\n at IP.makeStatusError (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1009:2131)\n at IP.makeRequest (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1009:5344)\n at process.processTicksAndRejections (node:internal/process/task_queues:105:5)","timestamp":"2026-03-03T19:09:52.306Z"},{"error":"Error: 404 {\"type\":\"error\",\"error\":{\"type\":\"not_found_error\",\"message\":\"model: claude-3-5-haiku-20241022\"},\"request_id\":\"req_011CYgg5jSH5AMdq7k4u9gXf\"}\n at i9.generate (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:992:2516)\n at IP.makeStatusError (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1009:2131)\n at IP.makeRequest (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1009:5344)\n at process.processTicksAndRejections (node:internal/process/task_queues:105:5)","timestamp":"2026-03-03T19:09:52.663Z"},{"error":"Error: 404 {\"type\":\"error\",\"error\":{\"type\":\"not_found_error\",\"message\":\"model: claude-3-5-haiku-20241022\"},\"request_id\":\"req_011CYgg5kZzfsVjK1WsPd2nd\"}\n at i9.generate (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:992:2516)\n at IP.makeStatusError (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1009:2131)\n at IP.makeRequest (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1009:5344)\n at process.processTicksAndRejections (node:internal/process/task_queues:105:5)","timestamp":"2026-03-03T19:09:52.752Z"},{"error":"RangeError [ERR_CHILD_PROCESS_STDIO_MAXBUFFER]: stdout maxBuffer length exceeded\n at Socket.onChildStdout (node:child_process:481:14)\n at Socket.emit (node:events:524:28)\n at Socket.emit (node:domain:489:12)\n at addChunk (node:internal/streams/readable:561:12)\n at readableAddChunkPushByteMode (node:internal/streams/readable:512:3)\n at Readable.push (node:internal/streams/readable:392:5)\n at Pipe.onStreamRead (node:internal/stream_base_commons:189:23)","timestamp":"2026-03-03T19:09:52.786Z"},{"error":"Error: 404 {\"type\":\"error\",\"error\":{\"type\":\"not_found_error\",\"message\":\"model: claude-3-5-haiku-20241022\"},\"request_id\":\"req_011CYgg5ktqkHGq56dNcdg3M\"}\n at i9.generate (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:992:2516)\n at IP.makeStatusError (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1009:2131)\n at IP.makeRequest (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1009:5344)\n at process.processTicksAndRejections (node:internal/process/task_queues:105:5)","timestamp":"2026-03-03T19:09:52.827Z"},{"error":"Error: 404 {\"type\":\"error\",\"error\":{\"type\":\"not_found_error\",\"message\":\"model: claude-3-5-haiku-20241022\"},\"request_id\":\"req_011CYgg5m5WAgVkpxQNkofVg\"}\n at i9.generate (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:992:2516)\n at IP.makeStatusError (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1009:2131)\n at IP.makeRequest (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1009:5344)\n at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n at async OJB.ZI1.maxRetries (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1919:22650)\n at async ZI1 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1919:18054)\n at async OJB (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1919:22480)\n at async file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:3419:2657","timestamp":"2026-03-03T19:09:53.043Z"},{"error":"L_1: Failed to install new version of claude: npm error code ENOTEMPTY\nnpm error syscall rename\nnpm error path /Users/antara.hebbar/.volta/tools/image/node/22.13.1/lib/node_modules/@anthropic-ai/claude-code\nnpm error dest /Users/antara.hebbar/.volta/tools/image/node/22.13.1/lib/node_modules/@anthropic-ai/.claude-code-RI9MsNO9\nnpm error errno -66\nnpm error ENOTEMPTY: directory not empty, rename '/Users/antara.hebbar/.volta/tools/image/node/22.13.1/lib/node_modules/@anthropic-ai/claude-code' -> '/Users/antara.hebbar/.volta/tools/image/node/22.13.1/lib/node_modules/@anthropic-ai/.claude-code-
Note: Error logs were truncated.
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗