Dock Icon Bouncing During Claude CLI Command Execution (Node)

Status Fixed / completed
Maintainer reply ✓ Yes — bcherny
Activity 6 comments · opened Jun 10, 2025 · closed Jun 12, 2025
💡 Likely answer: A maintainer (bcherny, collaborator) responded on this thread — see the highlighted reply below.

Bug Description
node icon keeps bounching in the dock when running any commands with claude

Environment Info

  • Platform: macos
  • Terminal: Apple_Terminal
  • Version: 1.0.18
  • Feedback ID: 856b0ce7-fa25-4b36-aac6-8145fda60b91

Errors

[{"error":"Error: Command failed: security find-generic-password -a $USER -w -s \"Claude Code\"\nsecurity: SecKeychainSearchCopyNext: The specified item could not be found in the keychain.\n\n    at genericNodeError (node:internal/errors:983:15)\n    at wrappedFn (node:internal/errors:537:14)\n    at checkExecSyncError (node:child_process:882:11)\n    at execSync (node:child_process:954:15)\n    at JZ (file:///Users/[username]/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:659:3921)\n    at file:///Users/[username]/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:582:11795\n    at Q (file:///Users/[username]/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:526:17190)\n    at aJ (file:///Users/[username]/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:582:10941)\n    at AS (file:///Users/[username]/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:582:10022)\n    at L6 (file:///Users/[username]/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:582:14134)","timestamp":"2025-06-10T21:16:27.186Z"},{"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:518: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":"2025-06-10T21:16:29.182Z"}]

View original on GitHub ↗

6 Comments

bcherny collaborator · 1 year ago

Hi, which Node icon do you mean? Can you screenshot what you're seeing?

stevenayl · 1 year ago

@bcherny <img width="317" alt="Image" src="https://github.com/user-attachments/assets/c8ff6fd5-0632-4090-b290-d0109694c780" />

igorkofman collaborator · 1 year ago

Thanks for the screenshot. We haven't heard any other reports. Could you share the output of following:

echo $SHELL
echo $TERM_PROGRAM
type exec
alias | grep exec

Does this happen in other shells (iterm2)?
If there anything in your .zshrc what could be causing this?

shyim · 1 year ago
❯ echo $SHELL
  echo $TERM_PROGRAM
  type exec
  alias | grep exec
/opt/homebrew/bin/fish
ghostty
exec is a builtin

❯ sw_vers
ProductName:            macOS
ProductVersion:         26.0
BuildVersion:           25A5279m

I am on the latest beta, I thought maybe it's an macOS bug, but I have this only on Claude

shyim · 1 year ago

nvm I have it on my own cli app too which is in Go. it's an macos bug. Filled an Apple Bug report linked their issue to here

github-actions[bot] · 1 year 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.