Token Calculation Failure Causing Unexpected Termination
Resolved 💬 3 comments Opened Jul 17, 2025 by applezebra Closed Aug 20, 2025
Bug Description
Entered a prompt and then it calculated tokens and then it died, didn't continue
Environment Info
- Platform: linux
- Terminal: vscode
- Version: 1.0.53
- Feedback ID: 7758858a-0315-4df2-8475-6f13961a05b4
Errors
[{"error":"Error: 1: 1 Error: End of central directory record signature not found. Either not a zip file, or file is truncated.\n at Af (file:///usr/share/code/resources/app/out/vs/code/node/cliProcessMain.js:50:28935)\n at file:///usr/share/code/resources/app/out/vs/code/node/cliProcessMain.js:50:30263\n at /usr/share/code/resources/app/node_modules/yauzl/index.js:40:7\n at /usr/share/code/resources/app/node_modules/yauzl/index.js:190:5\n at Immediate.<anonymous> (/usr/share/code/resources/app/node_modules/yauzl/index.js:705:38)\n at process.processImmediate (node:internal/timers:485:21) {\n code: 'Extract',\n name: 'Extract'\n}\nFailed Installing Extensions: file:///home/zeallous/.nvm/versions/node/v20.19.4/lib/node_modules/%40anthropic-ai/claude-code/vendor/claude-code.vsix\n\n at Lq6 (file:///home/zeallous/.nvm/versions/node/v20.19.4/lib/node_modules/@anthropic-ai/claude-code/cli.js:1208:5219)\n at async qq6 (file:///home/zeallous/.nvm/versions/node/v20.19.4/lib/node_modules/@anthropic-ai/claude-code/cli.js:1208:2582)","timestamp":"2025-07-17T02:49:07.930Z"},{"error":"SyntaxError: Unexpected token 'H', \"Here's the\"... is not valid JSON\n at JSON.parse (<anonymous>)\n at file:///home/zeallous/.nvm/versions/node/v20.19.4/lib/node_modules/@anthropic-ai/claude-code/cli.js:635:9928\n at Q (file:///home/zeallous/.nvm/versions/node/v20.19.4/lib/node_modules/@anthropic-ai/claude-code/cli.js:542:14406)\n at wd2 (file:///home/zeallous/.nvm/versions/node/v20.19.4/lib/node_modules/@anthropic-ai/claude-code/cli.js:1213:10315)\n at process.processTicksAndRejections (node:internal/process/task_queues:95:5)","timestamp":"2025-07-17T04:31:23.597Z"}]This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗