Promise Timeout Error in Claude Code CLI Execution

Resolved 💬 4 comments Opened Jul 19, 2025 by JimmyWong974 Closed Jan 5, 2026

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"}]

View original on GitHub ↗

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