Extension fails to activate on Windows in v2.1.129 — hardcoded Linux CI path in bundle
Resolved 💬 2 comments Opened May 6, 2026 by MDC-AA Closed May 6, 2026
Version: anthropic.claude-code 2.1.129 / VS Code 1.118.1 / Windows 10 x64
Bug: The extension fails to activate silently. No commands are registered (e.g. command 'claude-vscode.editor.openLast' not found).
Root cause (from VS Code Developer Tools console):
Activating extension 'Anthropic.claude-code' failed: 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'.
The extension.js bundle contains a hardcoded absolute Linux path from the CI build server (/home/runner/work/...). This path does not exist on user machines, causing activation to fail.
Workaround: Downgrade to v2.1.119 (stable):
code --install-extension anthropic.claude-code@2.1.119 --forceThis issue has 2 comments on GitHub. Read the full discussion on GitHub ↗