Invalid Bash Command Parsing in Claude Code Execution

Resolved 💬 5 comments Opened Jun 18, 2025 by Pajenicko Closed Jan 3, 2026

Bug Description
Claude code cant do any bash calls,ends with error "Error: (anon):15: = not found"

Environment Info

  • Platform: darwin
  • Terminal: Apple_Terminal (I am using ZSH)
  • Version: 1.0.27
  • Feedback ID: c8bc1537-ad28-4c46-bbcd-34affbd97ab9

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:892:11)\n    at execSync (node:child_process:964:15)\n    at wZ (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:659:3921)\n    at file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:582:9014\n    at Q (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:526:17199)\n    at QX (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:582:8160)\n    at $S (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:582:7241)\n    at L9 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:582:11408)","timestamp":"2025-06-18T06:33:37.564Z"}]

View original on GitHub ↗

This issue has 5 comments on GitHub. Read the full discussion on GitHub ↗