Undefined Progress Indicator in Claude Code CLI
Resolved 💬 23 comments Opened Aug 17, 2025 by wyattjoh Closed Dec 10, 2025
Bug Description
Whenever I ask Claude to do something, where the orange text usually displays a word or two about what it's doing it's instead just displaying undefined. I assume this is a bug!
Environment Info
- Platform: darwin
- Terminal: WarpTerminal
- Version: 1.0.83
- Feedback ID: 92ccd5b1-1b80-4044-a02c-26ac9125cf9b
Errors
[{"error":"RangeError [ERR_CHILD_PROCESS_STDIO_MAXBUFFER]: stdout maxBuffer length exceeded\n at Socket.onChildStdout (node:child_process:482:14)\n at Socket.emit (node:events:507:28)\n at Socket.emit (node:domain:489:12)\n at addChunk (node:internal/streams/readable:559:12)\n at readableAddChunkPushByteMode (node:internal/streams/readable:510:3)\n at Readable.push (node:internal/streams/readable:390:5)\n at Pipe.onStreamRead (node:internal/stream_base_commons:189:23)","timestamp":"2025-08-17T00:49:46.354Z"},{"error":"Error: Request was aborted.\n at sP.makeRequest (file:///Users/wyatt.johnson/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:959:3840)\n at process.processTicksAndRejections (node:internal/process/task_queues:105:5)","timestamp":"2025-08-17T00:49:49.628Z"}]
23 Comments
Found 3 possible duplicate issues:
This issue will be automatically closed as a duplicate in 3 days.
🤖 Generated with Claude Code
Hey there,
I saw your issue and thought I'd chime in as another user. Based on your error log, I have a pretty good idea of what might be happening. Great job including the logs, by the way, that
stdout maxBuffer length exceedederror is the key clue!This issue usually points to a problem with a custom status line script.
Claude Code has a cool feature (introduced in version
1.0.71) that lets you create a custom status line at the bottom of the UI, much like a custom shell prompt (PS1). You can set it up with the/statuslinecommand. This feature works by running a shell script in the background and using its output for the status text.Here's my theory:
stdout maxBuffer length exceedederror you're seeing.undefined.How to Fix It
Here are the steps I'd recommend to troubleshoot and fix this:
statusLineconfiguration. Look in either your user settings (~/.claude/settings.json) or your project-specific settings (<your-project>/.claude/settings.json). You're looking for a block that looks like this:``
json
``"statusLine": {
"type": "command",
"command": "/path/to/your/statusline-script.sh"
}
"statusLine": { ... }block from your settings file and restartclaude. If theundefinedmessage goes away, you've found the culprit!"command"field.sh /path/to/your/statusline-script.shhead -n 1directly in yoursettings.jsonfile to ensure only the first line is ever used.Hope this helps you get it sorted
I temporarily disabled the statusLine and restarted Claude Code just to see the
undefined...pop up as the message again.@coygeek I don’t think this is related to the statusline. People have disabled it or never configured it, and it still shows as undefined.
I’ve set up a pretty fancy status line with ANSI colors and all that. It’s just one line and fairly short, so I’m not sure what the issue is. Either way, I’m looking forward to getting it resolved 👍
By the way, the new animation on the flavor text is amazing. The left-to-right highlighting looks great.
Never configured it, and has the issue. Came up after the recent update. Was working well before.
Only "Compacting Conversation" works. Everything else "undefined"
I'm seeing this too, but no errors. Kinda infuriating. I do not have a status line configured and have never set one up.
<img width="750" height="138" alt="Image" src="https://github.com/user-attachments/assets/e5ad6055-c00f-4987-9b5e-ccc5c2951f10" />
Same issue here for days.
<img width="1776" height="324" alt="Image" src="https://github.com/user-attachments/assets/5be25548-5a92-41ea-bae5-c9ac043c2a05" />
Yep, we are now at version 1.0.86 and no change. Is this a macOS thing, or do people on other platforms also experience this?
I am on windows platform and am wondering what does "undefined" mean
Getting it in windows 11 as well.
Macos here
On Fri, 22 Aug 2025, 3:02 pm jomon003, @.***> wrote:
Most likely it's the fallback to not being able to fetch the action verbs. As the property is not assigned, its default value is
undefined.Now how this is happening and why, no idea.
<img width="240" height="107" alt="Image" src="https://github.com/user-attachments/assets/f0c4fc88-ec36-4584-a0a2-96f4e3bf88e5" />
In my situation, I resolved the issue by performing a clean reinstall of Claude Code. Before doing so, I backed up the existing configuration files by renaming
.claude.json,claude.backup.json, and the.claudefolder with a(backup)suffix as a precaution. After the reinstall, I allowed Claude Code to regenerate these files and folders from scratch, which fixed the problem.<img width="726" height="110" alt="Image" src="https://github.com/user-attachments/assets/edde7ff1-adb7-4ae5-bd7d-a7420c9f8b50" />
With the latest version of Claude Code (
1.0.90), the action verbs no longer show up for me asundefined. I did not change anything in my config, and CC updated automatically. Anyone else?Still reproducible with
1.0.90on macOS for me.Processing starts as one of the usual verbs, but then switches to
undefined, which may or may not be new behavior since this version.Noticed this occurring in 1.0.90. I have never set a custom statusline, nor is there any statusline stuff in my config file.
+1. Windows 11 and WSL, with CC running using the VSCode extension. I never configured a status line or anything like that.
Still happening on 1.0.112. Using macos. Never had status line configured. Downgrading to 1.0.80 fixes it but I'd like to upgrade at some point to get updates. I get the issue on 1.0.81+
Still seeing this on 2.0.22 on macOS.
I was able to resolve this by uninstalling and reinstalling. I had a global installation at one point that would've worked for all users and I migrated it to a personal installation at one point when it recommended doing that. I think it was the doctor command if I recall that suggested switching to a local install. I'm guessing there was something left over from the old installation that was preventing it from working. It's been a while and I can't remember exactly what I did but I think either run the npm uninstall command, or maybe reinstalling and uninstalling the global npm one.
This issue has been inactive for 30 days. If the issue is still occurring, please comment to let us know. Otherwise, this issue will be automatically closed in 30 days for housekeeping purposes.
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.