claude code crashes with no error code or anything and just...
Resolved 💬 6 comments Opened Jul 28, 2025 by pm0code Closed Aug 15, 2025
Bug Description
Claude code crashes with no error code or anything and just drops like a rock back on the command line. extremely interruptive to work!!! Urgent!!!
Environment Info
- Platform: win32
- Terminal: windows-terminal
- Version: 1.0.61
- Feedback ID: 8327f82f-19d1-4e52-859c-8a04bbb28a3a
Errors
[{"error":"Error: Command failed: tasklist | findstr /I \"Code.exe Cursor.exe Windsurf.exe idea64.exe pycharm64.exe webstorm64.exe phpstorm64.exe rubymine64.exe clion64.exe goland64.exe rider64.exe datagrip64.exe appcode.exe dataspell64.exe aqua64.exe gateway64.exe fleet.exe studio64.exe\"\nFINDSTR: Cannot open Code.exe Cursor.exe Windsurf.exe idea64.exe pycharm64.exe webstorm64.exe phpstorm64.exe rubymine64.exe clion64.exe goland64.exe rider64.exe datagrip64.exe appcode.exe dataspell64.exe aqua64.exe gateway64.exe fleet.exe studio64.exe\r\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 i7 (file:///C:/Users/Nader/AppData/Local/npm-cache/_npx/becf7b9e49303068/node_modules/@anthropic-ai/claude-code/cli.js:865:5106)\n at St (file:///C:/Users/Nader/AppData/Local/npm-cache/_npx/becf7b9e49303068/node_modules/@anthropic-ai/claude-code/cli.js:1346:1937)\n at file:///C:/Users/Nader/AppData/Local/npm-cache/_npx/becf7b9e49303068/node_modules/@anthropic-ai/claude-code/cli.js:1876:7273\n at async file:///C:/Users/Nader/AppData/Local/npm-cache/_npx/becf7b9e49303068/node_modules/@anthropic-ai/claude-code/cli.js:1877:1485\n at async Promise.all (index 12)\n at async Jw0 (file:///C:/Users/Nader/AppData/Local/npm-cache/_npx/becf7b9e49303068/node_modules/@anthropic-ai/claude-code/cli.js:1877:1444)","timestamp":"2025-07-28T00:08:36.571Z"},{"error":"Error: 400 {\"type\":\"error\",\"error\":{\"type\":\"invalid_request_error\",\"message\":\"system: This credential is only authorized for use with Claude Code and cannot be used for other API requests.\"}}\n at i4.generate (file:///C:/Users/Nader/AppData/Local/npm-cache/_npx/becf7b9e49303068/node_modules/@anthropic-ai/claude-code/cli.js:1317:7796)\n at DP.makeStatusError (file:///C:/Users/Nader/AppData/Local/npm-cache/_npx/becf7b9e49303068/node_modules/@anthropic-ai/claude-code/cli.js:1334:2101)\n at DP.makeRequest (file:///C:/Users/Nader/AppData/Local/npm-cache/_npx/becf7b9e49303068/node_modules/@anthropic-ai/claude-code/cli.js:1334:5315)\n at process.processTicksAndRejections (node:internal/process/task_queues:105:5)","timestamp":"2025-07-28T00:08:36.942Z"},{"error":"Error: 400 {\"type\":\"error\",\"error\":{\"type\":\"invalid_request_error\",\"message\":\"system: This credential is only authorized for use with Claude Code and cannot be used for other API requests.\"}}\n at i4.generate (file:///C:/Users/Nader/AppData/Local/npm-cache/_npx/becf7b9e49303068/node_modules/@anthropic-ai/claude-code/cli.js:1317:7796)\n at DP.makeStatusError (file:///C:/Users/Nader/AppData/Local/npm-cache/_npx/becf7b9e49303068/node_modules/@anthropic-ai/claude-code/cli.js:1334:2101)\n at DP.makeRequest (file:///C:/Users/Nader/AppData/Local/npm-cache/_npx/becf7b9e49303068/node_modules/@anthropic-ai/claude-code/cli.js:1334:5315)\n at process.processTicksAndRejections (node:internal/process/task_queues:105:5)","timestamp":"2025-07-28T00:08:37.143Z"},{"error":"Error: 400 {\"type\":\"error\",\"error\":{\"type\":\"invalid_request_error\",\"message\":\"system: This credential is only authorized for use with Claude Code and cannot be used for other API requests.\"}}\n at i4.generate (file:///C:/Users/Nader/AppData/Local/npm-cache/_npx/becf7b9e49303068/node_modules/@anthropic-ai/claude-code/cli.js:1317:7796)\n at DP.makeStatusError (file:///C:/Users/Nader/AppData/Local/npm-cache/_npx/becf7b9e49303068/node_modules/@anthropic-ai/claude-code/cli.js:1334:2101)\n at DP.makeRequest (file:///C:/Users/Nader/AppData/Local/npm-cache/_npx/becf7b9e49303068/node_modules/@anthropic-ai/claude-code/cli.js:1334:5315)\n at process.processTicksAndRejections (node:internal/process/task_queues:105:5)","timestamp":"2025-07-28T00:10:09.684Z"}]
<img width="1439" height="1428" alt="Image" src="https://github.com/user-attachments/assets/2defe940-5d49-491a-8e4f-9950c7fa1a46" />
This issue has 6 comments on GitHub. Read the full discussion on GitHub ↗