VS Code extension 2.1.136 fails activation on Windows with build-agent-sdk sdk.mjs path error
Resolved 💬 3 comments Opened May 9, 2026 by impairedgait Closed May 9, 2026
Summary
Claude Code for VS Code 2.1.136 fails to activate on Windows. Rolling back to 2.1.133 restores clean activation.
Environment
- OS: Windows x64
- VS Code: 1.119.0
- Extension:
anthropic.claude-code - Failing version:
2.1.136 - Working version:
2.1.133
Steps to Reproduce
- Install
anthropic.claude-code-2.1.136-win32-x64.vsix. - Reload or reopen VS Code.
- Let the extension activate via
onStartupFinished, or open the Claude Code panel.
Expected Behavior
Claude Code activates successfully.
Actual Behavior
Extension activation fails with:
Activating extension Anthropic.claude-code failed due to an error:
TypeError: The argument 'filename' must be a file URL object, file URL string, or absolute path string. Received 'file:///home/runner/work/claude-cli-internal/claude-cli-internal/build-agent-sdk/sdk.mjs'
Stack includes:
...\.vscode\extensions\anthropic.claude-code-2.1.136-win32-x64\extension.js:103:5579
Notes
2.1.133activates cleanly on the same machine.2.1.136appears to include a bundledcreateRequire(...)path referencing/home/runner/work/.../build-agent-sdk/sdk.mjs.- Workaround: install
2.1.133.
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗