[BUG] VS Code extension installation fails with 'End of central directory record signature not found' on /status
Resolved 💬 15 comments Opened Jul 16, 2025 by bukanpeneliti Closed Jul 17, 2025
Environment
- Platform (select one):
- [x] Anthropic API
- [ ] AWS Bedrock
- [ ] Google Vertex AI
- [ ] Other: <!-- specify -->
- Claude CLI version: 1.0.53
- Operating System: Windows 11
- Terminal: Windows Terminal (PowerShell 7)
Bug Description
Claude Code fails to install its VS Code extension with an "End of central directory record signature not found" error when running /status. The extension installation process appears to be trying to extract a corrupted or truncated .vsix file.
Steps to Reproduce
- Install Claude Code globally via npm:
npm install -g @anthropic-ai/claude-code - Open a terminal in any project directory
- Run
claudeto start Claude Code - Type
/statusto check IDE integration status - Observe the VS Code extension installation failure
Expected Behavior
The VS Code extension should install successfully and show "✔ VS Code extension installed" in the status output.
Actual Behavior
The extension installation fails with the following error:
⚠ Error installing VS Code extension: 1: 1 Error: End of central directory record signature not found. Either not a zip file, or file is truncated.
The error indicates the .vsix file located at file:///c%3A/Users/.../AppData/Local/nvm/v22.17.0/node_modules/%40anthropic-ai/claude-code/vendor/claude-code.vsix appears to be corrupted or incomplete.
Additional Context
- The error occurs consistently on every
/statuscheck - Restarting VS Code as suggested does not resolve the issue
- The
.vsixfile may have been corrupted during npm installation - Using nvm for Node.js version management (v22.17.0)
- VS Code version: 1.102.0
- The issue prevents full IDE integration functionality
- Manually install the vs code extension doesn't help, I can use the extension but claude-code.vsix is 0 byte
This issue has 15 comments on GitHub. Read the full discussion on GitHub ↗