Skip to content

Claude Code extension for VSCode version 2.1.129 does not install correctly #1502

@rnachane

Description

@rnachane

Claude Code extension for VSCode version 2.1.129 does not install correctly. I had to downgrade to 2.1.28 for the extension to work.
I am on Windows.

Here are the extension host logs.
2026-05-05 22:19:42.957 [error] Activating extension Anthropic.claude-code failed due to an error:
2026-05-05 22:19:42.957 [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'
at Module.createRequire (node:internal/modules/cjs/loader:1922:13)
at Object. (c:\Users\xxx.vscode\extensions\anthropic.claude-code-2.1.129-win32-x64\extension.js:102:5407)
at Module._compile (node:internal/modules/cjs/loader:1713:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1847:10)
at Module.load (node:internal/modules/cjs/loader:1448:32)
at Module._load (node:internal/modules/cjs/loader:1270:12)
at c._load (node:electron/js2c/node_init:2:18041)
at i._load

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions