Promise Timeout Error in Claude Code CLI
Resolved 💬 3 comments Opened Jun 29, 2025 by Germoso Closed Aug 20, 2025
Bug Description
node:internal/process/promises:394
triggerUncaughtException(err, true / fromPromise /);
^
Error: Timeout waiting after 1000ms
at fz2 (file:///Users/germoso/.nvm/versions/node/v22.17.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:1363:11606)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
at async Iz5 (file:///Users/germoso/.nvm/versions/node/v22.17.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:1924:11636)
at async F (file:///Users/germoso/.nvm/versions/node/v22.17.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:1924:10490)
Node.js v22.17.0
Environment Info
- Platform: darwin
- Terminal: vscode
- Version: 1.0.35
- Feedback ID:
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 TZ (file:///Users/germoso/.nvm/versions/node/v22.17.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:700:3921)\n at file:///Users/germoso/.nvm/versions/node/v22.17.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:622:9014\n at Q (file:///Users/germoso/.nvm/versions/node/v22.17.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:526:17199)\n at VX (file:///Users/germoso/.nvm/versions/node/v22.17.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:622:8160)\n at nS (file:///Users/germoso/.nvm/versions/node/v22.17.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:622:7241)\n at f9 (file:///Users/germoso/.nvm/versions/node/v22.17.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:622:11408)","timestamp":"2025-06-29T02:54:57.482Z"},{"error":"AggregateError\n at nx.from (file:///Users/germoso/.nvm/versions/node/v22.17.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:526:44022)\n at kY.f1 (file:///Users/germoso/.nvm/versions/node/v22.17.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:529:10131)\n at kY.emit (node:events:518:28)\n at kY.emit (node:domain:489:12)\n at QL1.<computed> (file:///Users/germoso/.nvm/versions/node/v22.17.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:61:1149)\n at ClientRequest.emit (node:events:518:28)\n at ClientRequest.emit (node:domain:489:12)\n at emitErrorEvent (node:_http_client:104:11)\n at TLSSocket.socketErrorListener (node:_http_client:518:5)\n at TLSSocket.emit (node:events:518:28)\n at cl.request (file:///Users/germoso/.nvm/versions/node/v22.17.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:531:2081)\n at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n at async X$5 (file:///Users/germoso/.nvm/versions/node/v22.17.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:1979:468)\n at async Promise.all (index 0)\n at async file:///Users/germoso/.nvm/versions/node/v22.17.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:1965:6159","timestamp":"2025-06-29T02:55:11.289Z"}]This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗