Unhandled node type: string error appears during git commit/push (cosmetic, non-blocking)
Summary
A recurring error message Unhandled node type: string appears in the Claude Code terminal output when running git commit or git push via the Bash tool. The git operations complete successfully — this is cosmetic/noise, not a functional failure.
Steps to Reproduce
- Use Claude Code to run
git commitorgit pushvia the Bash tool - Observe error in output
Expected Behavior
No error message. Git operations complete silently or with normal git output only.
Actual Behavior
Unhandled node type: string
appears in the terminal alongside (or after) the git command output.
Environment
- Platform: macOS Darwin 25.4.0
- Shell: zsh
- No custom git hooks configured (
core.hooksPathnot set, all hooks are.sample) - No Claude Code hooks that fire on Bash tool calls
Notes
This appears to be an internal JavaScript AST traversal error within the Claude Code CLI (Node.js). The error text suggests a switch/visitor pattern that does not have a handler for the "string" node type. Likely triggered when Claude Code processes or parses git output internally.
🤖 Filed via Claude Code
This issue has 4 comments on GitHub. Read the full discussion on GitHub ↗