[BUG] Regression with the new version

Resolved 💬 2 comments Opened May 6, 2026 by Tozoul Closed May 6, 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?

The plugin is not working due to harcoded value:

Anthropic a publié la version 2.1.129 avec un chemin de build Linux en dur dans le code (/home/runner/..., c'est leur runner GitHub Actions). Sur Windows, ce chemin n'existe pas, donc Module.createRequire plante au démarrage et l'extension ne s'active jamais → pas d'icône, pas de commandes, rien.
C'est une régression de packaging côté Anthropic. Aucune manipulation de ton côté ne réparera la 2.1.129 sur Windows.

What Should Happen?

Not pôssible to open the extension in VS

Error Messages/Logs

Activating extension Anthropic.claude-code failed due to an error:
2026-05-06 06:52:08.806 [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.<anonymous> (c:\Users\tozou\.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 (file:///c:/Users/tozou/AppData/Local/Programs/Microsoft%20VS%20Code/034f571df5/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:834:6589)
	at e._load (file:///c:/Users/tozou/AppData/Local/Programs/Microsoft%20VS%20Code/034f571df5/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:652:28611)
	at n._load (file:///c:/Users/tozou/AppData/Local/Programs/Microsoft%20VS%20Code/034f571df5/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:644:25996)
	at TracingChannel.traceSync (node:diagnostics_channel:328:14)
	at wrapModuleLoad (node:internal/modules/cjs/loader:244:24)
	at Module.require (node:internal/modules/cjs/loader:1470:12)
	at Module.require (c:\Users\tozou\AppData\Local\Programs\Microsoft VS Code\034f571df5\resources\app\extensions\copilot\dist\extension.js:492:36345)
	at require (node:internal/modules/helpers:147:16)
	at wP._doLoadModule (file:///c:/Users/tozou/AppData/Local/Programs/Microsoft%20VS%20Code/034f571df5/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:683:1614)
2026-05-06 06:52:47.561 [info] ExtensionService#_doActivateExtension vscode.markdown-language-features, startup: false, activationEvent: 'onLanguage:instructions'
2026-05-06 06:52:47.813 [info] ExtensionService#_doActivateExtension vscode.markdown-math, startup: false, activationEvent: 'api', root cause: vscode.markdown-language-features
2026-05-06 06:52:50.299 [warning] Illegal argument: TextEditor(vs.editor.ICodeEditor:2,$model12)

Steps to Reproduce

Install update on a windows machine

Claude Model

None

Is this a regression?

Yes, this worked in a previous version

Last Working Version

_No response_

Claude Code Version

Latest

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

Terminal.app (macOS)

Additional Information

_No response_

View original on GitHub ↗

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