[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

  1. Install Claude Code globally via npm: npm install -g @anthropic-ai/claude-code
  2. Open a terminal in any project directory
  3. Run claude to start Claude Code
  4. Type /status to check IDE integration status
  5. 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 /status check
  • Restarting VS Code as suggested does not resolve the issue
  • The .vsix file 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

View original on GitHub ↗

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