Promise Timeout Error in Claude Code CLI Execution
Bug Description node:internal/process/promises:394 triggerUncaughtException(err, true /* fromPromise */); ^
Error: Timeout waiting after 1000ms at TZB (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1317:11459) at process.processTicksAndRejections (node:internal/process/task_queues:105:5) at async HA8 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:2687:11207) at async J (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:2687:9917)
Environment Info
- Platform: darwin
- Terminal: windsurf
- Version: 1.0.56
- Feedback ID: a902c26f-b946-44c6-91c2-f399065a56f1
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:883:11)\n at execSync (node:child_process:955:15)\n at A7 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:797:5848)\n at file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:709:48013\n at Q (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:609:14408)\n at fY (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:709:45724)\n at QK (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:709:44590)\n at SB (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:709:50639)","timestamp":"2025-07-19T08:01:13.052Z"},{"error":"Error: ENOENT: no such file or directory, open '/proc/version'\n at Module.readFileSync (node:fs:441:20)\n at Object.readFileSync (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:615:7077)\n at file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:615:8638\n at Q (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:609:14408)\n at kT4 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:709:62815)\n at process.processTicksAndRejections (node:internal/process/task_queues:105:5)","timestamp":"2025-07-19T08:01:14.244Z"}]
+1
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 closed due to 60 days of inactivity. If you're still experiencing this issue, please open a new issue with updated information.
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.