[BUG] VS Code extension installation fails with 'End of central directory record signature not found' on /status
Status Fixed / completed
Maintainer reply ✓ Yes — ant-kurt
Activity 15 comments · opened Jul 16, 2025 · closed Jul 17, 2025
💡 Likely answer: A maintainer (ant-kurt, collaborator)
responded on this thread — see the highlighted reply below.
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
15 Comments
I found the same issue. my claude-code.vsix file is empty.
Same issue. Was fine until a day ago.
same issue. Mac OS too. claude-code.vsix is empty
Also experiencing this issue on Windows with Cursor IDE. Getting the same 'End of central directory record signature not found' error. This appears to be causing downstream file path resolution issues - I'm getting errors like:
Error: cannot open _claude_fs_right:c%3A%5CUsers%5Cgrant%5CDocuments%5CNinjaTrader%208%5Cbin%5CCustom%5CStrategies%5CExportRenkoBars.cs
This suggests the corrupted extension installation is breaking Claude Code's file system integration entirely. I have separate installations for WSL and Windows - WSL works fine, but Windows fails with both the extension installation error and these file path resolution issues.
Windows: Node.js v24.4.0 (standard installation)
WSL: Node.js v20.19.3
Issue occurs on Windows but not WSL
I have the same issue.
Here is the relevant
/statusinfo:Note, restarting the IDE as advised in the error message does nothing.
Here's how I resolved it.
Duplicate of #3574?
I have the same issue on Mac,
~/.nvm/versions/node/v22.15.0/lib/node_modules/@anthropic-ai/claude-code/vendor/claude-code.vsixis empty and CC/statusshows extension failure:I already tried restarting Cursor and reinstalling Claude Code but I am still seeing the issue. FWIW I am using AWS Bedrock not Anthropic API like OP
@PlymouthRock nailed it.
Note: If you are using Cursor, the option to install VSIX won't be there. You'll need to open up VS Code
This fix work for me when running using wsl and starting code form command line. But not from Windows VS Code. If I start claude code from a command prompt and /ide there is the option to select the VS Code IDE which suggests it has connected by Nodejs crashes when it tries to show a file diff.
From: Tim Ricciardi @.*>
Sent: Thursday, July 17, 2025 12:55 AM
To: anthropics/claude-code @.*>
Cc: Simon Third @.>; Comment @.>
Subject: Re: [anthropics/claude-code] [BUG] VS Code extension installation fails with 'End of central directory record signature not found' on /status (Issue #3598)
[https://avatars.githubusercontent.com/u/2496106?s=20&v=4]PlymouthRock left a comment (anthropics/claude-code#3598)<https://github.com/anthropics/claude-code/issues/3598#issuecomment-3078456524>
Here's how I resolved it.
—
Reply to this email directly, view it on GitHub<https://github.com/anthropics/claude-code/issues/3598#issuecomment-3078456524>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/ARWV6Y5ECLTJHDFZNAB7UZ33IZDQZAVCNFSM6AAAAACBT7C2ZOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZTANZYGQ2TMNJSGQ>.
You are receiving this because you commented.Message ID: @.****@.**>>
Here's how I resolved it.
Downloaded the vsix file from VS Code extension manager (click gear icon next to auto update).
Renamed the file to claude-code.vsix
Copied it into the node_modules/.../claude-code/vendor directory overwriting the 0 byte file.
Restarted VS Code.
can someone explain in detail which specific vsix file
Facing the same issue, surprised how it is not fixed yet.
Looks like 1.0.54 resolves the issue. I've installed and tested it. It's listed as next in npm so it's not getting updated on claude update. Had to explicitly install it:
npm install -g @anthropic-ai/claude-code@1.0.54
This should be fixed in the upcoming release.
This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.