You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Shell Command Execution Fails: Temporary File Not Found #2420
Bug Description
When Claude tries to run commands I get "no such file or directory" issue
⏺ Bash(git status)
⎿ Error: zsh:source:1: no such file or directory:
/var/folders/8f/khnp6qk51mvgk_jkxz169nr40000gn/T/claude-shell-snapshot-5842
⏺ Bash(git diff HEAD~1..HEAD --name-only 2>/dev/null || echo "No commits ahead of current branch")
⎿ Error: zsh:source:1: no such file or directory:
/var/folders/8f/khnp6qk51mvgk_jkxz169nr40000gn/T/claude-shell-snapshot-5842
⎿ Interrupted by user
Environment Info
Platform: darwin
Terminal: cursor
Version: 1.0.31
Feedback ID: d0cd400a-cb51-4e15-a95c-b50dc2a7565c
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:984:15)\n at wrappedFn (node:internal/errors:538:14)\n at checkExecSyncError (node:child_process:891:11)\n at execSync (node:child_process:963:15)\n at NZ (file:///Users/almirsarajcic/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:700:3921)\n at file:///Users/almirsarajcic/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:622:9014\n at Q (file:///Users/almirsarajcic/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:526:17199)\n at GX (file:///Users/almirsarajcic/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:622:8160)\n at fS (file:///Users/almirsarajcic/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:622:7241)\n at R9 (file:///Users/almirsarajcic/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:622:11408)","timestamp":"2025-06-21T19:11:38.364Z"},{"error":"Error: Request was aborted.\n at yw.makeRequest (file:///Users/almirsarajcic/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:1317:3784)\n at process.processTicksAndRejections (node:internal/process/task_queues:95:5)","timestamp":"2025-06-21T19:12:03.863Z"}]
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.
Activity
almirsarajcic commentedon Jun 22, 2025
Duplicate of #2139. Related to #1872.
Details: #2139 (comment).
github-actions commentedon Aug 11, 2025
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.