[Bug] Incomplete text output with excessive spacing in Claude Code CLI display

Status Fixed / completed
Reported on v2.0.73
Maintainer reply None cached
Activity 10 comments · opened Dec 19, 2025 · closed Dec 19, 2025

Bug Description
text from claude has got a ton of spaces and missing most of the resopnse. Unusable product in claude code at this point. Partial sentense are visible. If i ask claude to write the response to a file, it's fine. THis is happening in multiple claude code sessions in different directories

Environment Info

  • Platform: win32
  • Terminal: null
  • Version: 2.0.73
  • Feedback ID: e3e90a56-56f1-45f4-9c9b-0a446aba1f45

Errors

[{"error":"SyntaxError: Unexpected token 'C', \"C:\\Users\\e\"... is not valid JSON\n    at JSON.parse (<anonymous>)\n    at file:///C:/Users/execu/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:75:715\n    at B (file:///C:/Users/execu/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:8:6526)\n    at E_0.<anonymous> (file:///C:/Users/execu/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:5065:272)\n    at E_0.Q [as _actionHandler] (file:///C:/Users/execu/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:4842:528)\n    at file:///C:/Users/execu/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:4846:3119\n    at file:///C:/Users/execu/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:4846:1674\n    at async E_0.parseAsync (file:///C:/Users/execu/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:4843:4156)\n    at async LD7 (file:///C:/Users/execu/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:5119:1647)\n    at async wD7 (file:///C:/Users/execu/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:5054:1487)","timestamp":"2025-12-19T11:50:24.881Z"},{"error":"AxiosError: Request failed with status code 401\n    at oy (file:///C:/Users/execu/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:56:1137)\n    at IncomingMessage.<anonymous> (file:///C:/Users/execu/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:57:9852)\n    at IncomingMessage.emit (node:events:531:35)\n    at IncomingMessage.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 ezA.request (file:///C:/Users/execu/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:59:2130)\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at async JB7 (file:///C:/Users/execu/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:2661:9071)\n    at async file:///C:/Users/execu/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:2661:9964","timestamp":"2025-12-19T11:50:25.857Z"},{"error":"AxiosError: Request failed with status code 401\n    at oy (file:///C:/Users/execu/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:56:1137)\n    at IncomingMessage.<anonymous> (file:///C:/Users/execu/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:57:9852)\n    at IncomingMessage.emit (node:events:531:35)\n    at IncomingMessage.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 ezA.request (file:///C:/Users/execu/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:59:2130)\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at async dP2 (file:///C:/Users/execu/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:1838:3609)","timestamp":"2025-12-19T11:50:26.290Z"},{"error":"AxiosError: Request failed with status code 401\n    at oy (file:///C:/Users/execu/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:56:1137)\n    at IncomingMessage.<anonymous> (file:///C:/Users/execu/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:57:9852)\n    at IncomingMessage.emit (node:events:531:35)\n    at IncomingMessage.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 ezA.request (file:///C:/Users/execu/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:59:2130)\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at async JB7 (file:///C:/Users/execu/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:2661:9071)\n    at async file:///C:/Users/execu/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:2661:9964","timestamp":"2025-12-19T11:50:26.436Z"},{"error":"Error: EPERM: operation not permitted, rename 'C:\\Users\\execu\\.claude.json.tmp.9412.1766145032991' -> 'C:\\Users\\execu\\.claude.json'\n    at Module.renameSync (node:fs:1020:11)\n    at file:///C:/Users/execu/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:9:1487\n    at rI (file:///C:/Users/execu/AppData/Ro

Note: Error logs were truncated.

View original on GitHub ↗

10 Comments

spragginsdesigns · 8 months ago

Can confirm with screenshot this has been broken since last night:

<img width="1815" height="855" alt="Image" src="https://github.com/user-attachments/assets/4028ed72-ca28-433b-a548-39d2bafa47c6" />

github-actions[bot] · 8 months ago

Found 3 possible duplicate issues:

  1. https://github.com/anthropics/claude-code/issues/14677
  2. https://github.com/anthropics/claude-code/issues/14678
  3. https://github.com/anthropics/claude-code/issues/14691

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

mmundy3832 · 8 months ago

Oh boy. I just started having exactly the same issue this morning. I've been fighting it for about the last 30 minutes. I thought I was going crazy. Mine just started when I opened a new session. The old sessions were fine until I rebooted and started them back up.

Evilclicker · 8 months ago

same issue here. I've had to resort to having it document results in a markdown file just so I can review those. Really slows down progress.

<img width="1866" height="1049" alt="Image" src="https://github.com/user-attachments/assets/097f334d-04dc-4a2f-a2d3-0d4cf15b077c" />

weto4ka · 8 months ago

Same here. Have issues since today..

asterixjm · 8 months ago

Same here. After much trial and error, Claude suggested I come here lol.

mwbidwell · 8 months ago

Same here - not really usable. Seems like the spaces hold data that I cannot see now.

troy-phoenix · 8 months ago

same

mwbidwell · 8 months ago

This got me back up and running.

npm install -g @anthropic-ai/claude-code@2.0.72

$env:CLAUDE_CODE_DISABLE_AUTO_UPDATE = "1"

github-actions[bot] · 8 months ago

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.