[BUG] uild/packaging bug in Claude Code v2.1.51

Resolved 💬 7 comments Opened Feb 24, 2026 by behnamfaghih Closed Feb 24, 2026

Preflight Checklist

  • [x] I have searched existing issues and this hasn't been reported yet
  • [x] This is a single bug report (please file separate reports for different bugs)
  • [x] I am using the latest version of Claude Code

What's Wrong?

Latest Claude Code update, not loading in VS Code on a Windows 11 machine

What Should Happen?

This is a build/packaging bug in Claude Code v2.1.51 — the extension has a hardcoded Linux CI path (/home/runner/work/...) baked into it, which breaks Module.createRequire on Windows.

Error Messages/Logs

command 'claude-vscode.editor.openLast' not found

Steps to Reproduce

  1. Check the Extension Host log — this is where activation errors show up:

Ctrl+Shift+P → "Output: Show Output Channel" → select "Extension Host" from the dropdown
Look for any lines mentioning claude or anthropic — especially errors

Claude Model

None

Is this a regression?

Yes, this worked in a previous version

Last Working Version

2.1.50

Claude Code Version

2.1.51

Platform

Anthropic API

Operating System

Windows

Terminal/Shell

PowerShell

Additional Information

_No response_

View original on GitHub ↗

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