claude-code - 💡(How to fix) Fix [BUG] Extension v2.1.136 fails to activate on Windows — TypeError on createRequire

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…

Error Message

2026-05-08 17:45:22.389 [info] Extension host with pid 32972 started 2026-05-08 17:45:22.389 [info] Skipping acquiring lock for c:\Users\tuxpl\AppData\Roaming\Code\User\workspaceStorage\3a175098a07337e5451080ed15b1519e. 2026-05-08 17:45:22.807 [info] ExtensionService#_doActivateExtension vscode.github-authentication, startup: false, activationEvent: 'onAuthenticationRequest:github' 2026-05-08 17:45:22.859 [info] ExtensionService#_doActivateExtension mechatroner.rainbow-csv, startup: false, activationEvent: 'onLanguage:plaintext' 2026-05-08 17:45:22.871 [info] ExtensionService#_doActivateExtension vscode.emmet, startup: false, activationEvent: 'onLanguage' 2026-05-08 17:45:22.906 [info] ExtensionService#_doActivateExtension vscode.extension-editing, startup: false, activationEvent: 'onLanguage:markdown' 2026-05-08 17:45:22.924 [info] ExtensionService#_doActivateExtension vscode.markdown-language-features, startup: false, activationEvent: 'onLanguage:markdown' 2026-05-08 17:45:23.118 [info] ExtensionService#_doActivateExtension vscode.terminal-suggest, startup: false, activationEvent: 'onTerminalShellIntegration:' 2026-05-08 17:45:23.528 [info] ExtensionService#_doActivateExtension vscode.markdown-math, startup: false, activationEvent: 'api', root cause: vscode.markdown-language-features 2026-05-08 17:45:23.863 [info] ExtensionService#_doActivateExtension vscode.git-base, startup: true, activationEvent: '', root cause: vscode.git 2026-05-08 17:45:23.873 [info] ExtensionService#_doActivateExtension ms-python.python, startup: true, activationEvent: 'workspaceContains:pyproject.toml' 2026-05-08 17:45:24.030 [info] ExtensionService#_doActivateExtension ms-python.vscode-pylance, startup: true, activationEvent: 'workspaceContains:pyproject.toml' 2026-05-08 17:45:24.518 [info] ExtensionService#_doActivateExtension vscode.git, startup: true, activationEvent: '' 2026-05-08 17:45:24.576 [info] ExtensionService#_doActivateExtension vscode.github, startup: true, activationEvent: '' 2026-05-08 17:45:24.578 [info] ExtensionService#_doActivateExtension ms-python.vscode-python-envs, startup: false, activationEvent: 'api', root cause: ms-python.python 2026-05-08 17:45:25.018 [info] Eager extensions activated 2026-05-08 17:45:25.062 [info] ExtensionService#_doActivateExtension GitHub.copilot-chat, startup: false, activationEvent: 'onStartupFinished' 2026-05-08 17:45:26.157 [info] ExtensionService#_doActivateExtension vscode.debug-auto-launch, startup: false, activationEvent: 'onStartupFinished' 2026-05-08 17:45:26.160 [info] ExtensionService#_doActivateExtension vscode.merge-conflict, startup: false, activationEvent: 'onStartupFinished' 2026-05-08 17:45:26.176 [info] ExtensionService#_doActivateExtension Anthropic.claude-code, startup: false, activationEvent: 'onStartupFinished' 2026-05-08 17:45:26.258 [error] Activating extension Anthropic.claude-code failed due to an error: 2026-05-08 17:45:26.258 [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\tuxpl.vscode\extensions\anthropic.claude-code-2.1.136-win32-x64\extension.js:103:5579) 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/tuxpl/AppData/Local/Programs/Microsoft%20VS%20Code/8b640eef5a/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:806:6589) at n._load (file:///c:/Users/tuxpl/AppData/Local/Programs/Microsoft%20VS%20Code/8b640eef5a/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:652:28855) at n._load (file:///c:/Users/tuxpl/AppData/Local/Programs/Microsoft%20VS%20Code/8b640eef5a/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:644:25997) 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\tuxpl\AppData\Local\Programs\Microsoft VS Code\8b640eef5a\resources\app\extensions\copilot\dist\extension.js:494:36345) at require (node:internal/modules/helpers:147:16) at _P._doLoadModule (file:///c:/Users/tuxpl/AppData/Local/Programs/Microsoft%20VS%20Code/8b640eef5a/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:655:1487) 2026-05-08 17:45:26.258 [info] ExtensionService#_doActivateExtension ms-vscode-remote.remote-containers, startup: false, activationEvent: 'onStartupFinished' 2026-05-08 17:45:26.377 [info] ExtensionService#_doActivateExtension openai.chatgpt, startup: false, activationEvent: 'onStartupFinished' 2026-05-08 17:45:26.652 [info] ExtensionService#_doActivateExtension vscode.microsoft-authentication, startup: false, activationEvent: 'onAuthenticationRequest:microsoft' 2026-05-08 17:45:29.779 [error] Error: Thank you for using GitHub Copilot. Your subscription has ended. You are currently logged in as claudioRoliveira. at Bre._authShowWarnings (c:\Users\tuxpl\AppData\Local\Programs\Microsoft VS Code\8b640eef5a\resources\app\extensions\copilot\dist\extension.js:1742:18064) at process.processTicksAndRejections (node:internal/process/task_queues:103:5) at async Bre.getCopilotToken (c:\Users\tuxpl\AppData\Local\Programs\Microsoft VS Code\8b640eef5a\resources\app\extensions\copilot\dist\extension.js:1742:16253) at async Mge.getCopilotToken (c:\Users\tuxpl\AppData\Local\Programs\Microsoft VS Code\8b640eef5a\resources\app\extensions\copilot\dist\extension.js:1400:7787) at async lpe.updateCachedToken (c:\Users\tuxpl\AppData\Local\Programs\Microsoft VS Code\8b640eef5a\resources\app\extensions\copilot\dist\extension.js:2998:8746) 2026-05-08 17:45:29.781 [error] Error: Thank you for using GitHub Copilot. Your subscription has ended. You are currently logged in as claudioRoliveira. at Bre._authShowWarnings (c:\Users\tuxpl\AppData\Local\Programs\Microsoft VS Code\8b640eef5a\resources\app\extensions\copilot\dist\extension.js:1742:18064) at process.processTicksAndRejections (node:internal/process/task_queues:103:5) at async Bre.getCopilotToken (c:\Users\tuxpl\AppData\Local\Programs\Microsoft VS Code\8b640eef5a\resources\app\extensions\copilot\dist\extension.js:1742:16253) at async Mge.getCopilotToken (c:\Users\tuxpl\AppData\Local\Programs\Microsoft VS Code\8b640eef5a\resources\app\extensions\copilot\dist\extension.js:1400:7787) at async Mk._fetchModels (c:\Users\tuxpl\AppData\Local\Programs\Microsoft VS Code\8b640eef5a\resources\app\extensions\copilot\dist\extension.js:6832:4399) t.

Root Cause

2026-05-08 17:45:22.389 [info] Extension host with pid 32972 started
2026-05-08 17:45:22.389 [info] Skipping acquiring lock for c:\Users\tuxpl\AppData\Roaming\Code\User\workspaceStorage\3a175098a07337e5451080ed15b1519e.
2026-05-08 17:45:22.807 [info] ExtensionService#_doActivateExtension vscode.github-authentication, startup: false, activationEvent: 'onAuthenticationRequest:github'
2026-05-08 17:45:22.859 [info] ExtensionService#_doActivateExtension mechatroner.rainbow-csv, startup: false, activationEvent: 'onLanguage:plaintext'
2026-05-08 17:45:22.871 [info] ExtensionService#_doActivateExtension vscode.emmet, startup: false, activationEvent: 'onLanguage'
2026-05-08 17:45:22.906 [info] ExtensionService#_doActivateExtension vscode.extension-editing, startup: false, activationEvent: 'onLanguage:markdown'
2026-05-08 17:45:22.924 [info] ExtensionService#_doActivateExtension vscode.markdown-language-features, startup: false, activationEvent: 'onLanguage:markdown'
2026-05-08 17:45:23.118 [info] ExtensionService#_doActivateExtension vscode.terminal-suggest, startup: false, activationEvent: 'onTerminalShellIntegration:*'
2026-05-08 17:45:23.528 [info] ExtensionService#_doActivateExtension vscode.markdown-math, startup: false, activationEvent: 'api', root cause: vscode.markdown-language-features
2026-05-08 17:45:23.863 [info] ExtensionService#_doActivateExtension vscode.git-base, startup: true, activationEvent: '*', root cause: vscode.git
2026-05-08 17:45:23.873 [info] ExtensionService#_doActivateExtension ms-python.python, startup: true, activationEvent: 'workspaceContains:pyproject.toml'
2026-05-08 17:45:24.030 [info] ExtensionService#_doActivateExtension ms-python.vscode-pylance, startup: true, activationEvent: 'workspaceContains:pyproject.toml'
2026-05-08 17:45:24.518 [info] ExtensionService#_doActivateExtension vscode.git, startup: true, activationEvent: '*'
2026-05-08 17:45:24.576 [info] ExtensionService#_doActivateExtension vscode.github, startup: true, activationEvent: '*'
2026-05-08 17:45:24.578 [info] ExtensionService#_doActivateExtension ms-python.vscode-python-envs, startup: false, activationEvent: 'api', root cause: ms-python.python
2026-05-08 17:45:25.018 [info] Eager extensions activated
2026-05-08 17:45:25.062 [info] ExtensionService#_doActivateExtension GitHub.copilot-chat, startup: false, activationEvent: 'onStartupFinished'
2026-05-08 17:45:26.157 [info] ExtensionService#_doActivateExtension vscode.debug-auto-launch, startup: false, activationEvent: 'onStartupFinished'
2026-05-08 17:45:26.160 [info] ExtensionService#_doActivateExtension vscode.merge-conflict, startup: false, activationEvent: 'onStartupFinished'
2026-05-08 17:45:26.176 [info] ExtensionService#_doActivateExtension Anthropic.claude-code, startup: false, activationEvent: 'onStartupFinished'
2026-05-08 17:45:26.258 [error] Activating extension Anthropic.claude-code failed due to an error:
2026-05-08 17:45:26.258 [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\tuxpl\.vscode\extensions\anthropic.claude-code-2.1.136-win32-x64\extension.js:103:5579)
	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/tuxpl/AppData/Local/Programs/Microsoft%20VS%20Code/8b640eef5a/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:806:6589)
	at n._load (file:///c:/Users/tuxpl/AppData/Local/Programs/Microsoft%20VS%20Code/8b640eef5a/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:652:28855)
	at n._load (file:///c:/Users/tuxpl/AppData/Local/Programs/Microsoft%20VS%20Code/8b640eef5a/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:644:25997)
	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\tuxpl\AppData\Local\Programs\Microsoft VS Code\8b640eef5a\resources\app\extensions\copilot\dist\extension.js:494:36345)
	at require (node:internal/modules/helpers:147:16)
	at _P._doLoadModule (file:///c:/Users/tuxpl/AppData/Local/Programs/Microsoft%20VS%20Code/8b640eef5a/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:655:1487)
2026-05-08 17:45:26.258 [info] ExtensionService#_doActivateExtension ms-vscode-remote.remote-containers, startup: false, activationEvent: 'onStartupFinished'
2026-05-08 17:45:26.377 [info] ExtensionService#_doActivateExtension openai.chatgpt, startup: false, activationEvent: 'onStartupFinished'
2026-05-08 17:45:26.652 [info] ExtensionService#_doActivateExtension vscode.microsoft-authentication, startup: false, activationEvent: 'onAuthenticationRequest:microsoft'
2026-05-08 17:45:29.779 [error] Error: Thank you for using GitHub Copilot. Your subscription has ended. You are currently logged in as claudioRoliveira.
	at Bre._authShowWarnings (c:\Users\tuxpl\AppData\Local\Programs\Microsoft VS Code\8b640eef5a\resources\app\extensions\copilot\dist\extension.js:1742:18064)
	at process.processTicksAndRejections (node:internal/process/task_queues:103:5)
	at async Bre.getCopilotToken (c:\Users\tuxpl\AppData\Local\Programs\Microsoft VS Code\8b640eef5a\resources\app\extensions\copilot\dist\extension.js:1742:16253)
	at async Mge.getCopilotToken (c:\Users\tuxpl\AppData\Local\Programs\Microsoft VS Code\8b640eef5a\resources\app\extensions\copilot\dist\extension.js:1400:7787)
	at async lpe.updateCachedToken (c:\Users\tuxpl\AppData\Local\Programs\Microsoft VS Code\8b640eef5a\resources\app\extensions\copilot\dist\extension.js:2998:8746)
2026-05-08 17:45:29.781 [error] Error: Thank you for using GitHub Copilot. Your subscription has ended. You are currently logged in as claudioRoliveira.
	at Bre._authShowWarnings (c:\Users\tuxpl\AppData\Local\Programs\Microsoft VS Code\8b640eef5a\resources\app\extensions\copilot\dist\extension.js:1742:18064)
	at process.processTicksAndRejections (node:internal/process/task_queues:103:5)
	at async Bre.getCopilotToken (c:\Users\tuxpl\AppData\Local\Programs\Microsoft VS Code\8b640eef5a\resources\app\extensions\copilot\dist\extension.js:1742:16253)
	at async Mge.getCopilotToken (c:\Users\tuxpl\AppData\Local\Programs\Microsoft VS Code\8b640eef5a\resources\app\extensions\copilot\dist\extension.js:1400:7787)
	at async Mk._fetchModels (c:\Users\tuxpl\AppData\Local\Programs\Microsoft VS Code\8b640eef5a\resources\app\extensions\copilot\dist\extension.js:6832:4399)
t.

Fix Action

Fix / Workaround

Claude should open, but it is not happening, I downgrade to previous version

Code Example

2026-05-08 17:45:22.389 [info] Extension host with pid 32972 started
2026-05-08 17:45:22.389 [info] Skipping acquiring lock for c:\Users\tuxpl\AppData\Roaming\Code\User\workspaceStorage\3a175098a07337e5451080ed15b1519e.
2026-05-08 17:45:22.807 [info] ExtensionService#_doActivateExtension vscode.github-authentication, startup: false, activationEvent: 'onAuthenticationRequest:github'
2026-05-08 17:45:22.859 [info] ExtensionService#_doActivateExtension mechatroner.rainbow-csv, startup: false, activationEvent: 'onLanguage:plaintext'
2026-05-08 17:45:22.871 [info] ExtensionService#_doActivateExtension vscode.emmet, startup: false, activationEvent: 'onLanguage'
2026-05-08 17:45:22.906 [info] ExtensionService#_doActivateExtension vscode.extension-editing, startup: false, activationEvent: 'onLanguage:markdown'
2026-05-08 17:45:22.924 [info] ExtensionService#_doActivateExtension vscode.markdown-language-features, startup: false, activationEvent: 'onLanguage:markdown'
2026-05-08 17:45:23.118 [info] ExtensionService#_doActivateExtension vscode.terminal-suggest, startup: false, activationEvent: 'onTerminalShellIntegration:*'
2026-05-08 17:45:23.528 [info] ExtensionService#_doActivateExtension vscode.markdown-math, startup: false, activationEvent: 'api', root cause: vscode.markdown-language-features
2026-05-08 17:45:23.863 [info] ExtensionService#_doActivateExtension vscode.git-base, startup: true, activationEvent: '*', root cause: vscode.git
2026-05-08 17:45:23.873 [info] ExtensionService#_doActivateExtension ms-python.python, startup: true, activationEvent: 'workspaceContains:pyproject.toml'
2026-05-08 17:45:24.030 [info] ExtensionService#_doActivateExtension ms-python.vscode-pylance, startup: true, activationEvent: 'workspaceContains:pyproject.toml'
2026-05-08 17:45:24.518 [info] ExtensionService#_doActivateExtension vscode.git, startup: true, activationEvent: '*'
2026-05-08 17:45:24.576 [info] ExtensionService#_doActivateExtension vscode.github, startup: true, activationEvent: '*'
2026-05-08 17:45:24.578 [info] ExtensionService#_doActivateExtension ms-python.vscode-python-envs, startup: false, activationEvent: 'api', root cause: ms-python.python
2026-05-08 17:45:25.018 [info] Eager extensions activated
2026-05-08 17:45:25.062 [info] ExtensionService#_doActivateExtension GitHub.copilot-chat, startup: false, activationEvent: 'onStartupFinished'
2026-05-08 17:45:26.157 [info] ExtensionService#_doActivateExtension vscode.debug-auto-launch, startup: false, activationEvent: 'onStartupFinished'
2026-05-08 17:45:26.160 [info] ExtensionService#_doActivateExtension vscode.merge-conflict, startup: false, activationEvent: 'onStartupFinished'
2026-05-08 17:45:26.176 [info] ExtensionService#_doActivateExtension Anthropic.claude-code, startup: false, activationEvent: 'onStartupFinished'
2026-05-08 17:45:26.258 [error] Activating extension Anthropic.claude-code failed due to an error:
2026-05-08 17:45:26.258 [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\tuxpl\.vscode\extensions\anthropic.claude-code-2.1.136-win32-x64\extension.js:103:5579)
	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/tuxpl/AppData/Local/Programs/Microsoft%20VS%20Code/8b640eef5a/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:806:6589)
	at n._load (file:///c:/Users/tuxpl/AppData/Local/Programs/Microsoft%20VS%20Code/8b640eef5a/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:652:28855)
	at n._load (file:///c:/Users/tuxpl/AppData/Local/Programs/Microsoft%20VS%20Code/8b640eef5a/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:644:25997)
	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\tuxpl\AppData\Local\Programs\Microsoft VS Code\8b640eef5a\resources\app\extensions\copilot\dist\extension.js:494:36345)
	at require (node:internal/modules/helpers:147:16)
	at _P._doLoadModule (file:///c:/Users/tuxpl/AppData/Local/Programs/Microsoft%20VS%20Code/8b640eef5a/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:655:1487)
2026-05-08 17:45:26.258 [info] ExtensionService#_doActivateExtension ms-vscode-remote.remote-containers, startup: false, activationEvent: 'onStartupFinished'
2026-05-08 17:45:26.377 [info] ExtensionService#_doActivateExtension openai.chatgpt, startup: false, activationEvent: 'onStartupFinished'
2026-05-08 17:45:26.652 [info] ExtensionService#_doActivateExtension vscode.microsoft-authentication, startup: false, activationEvent: 'onAuthenticationRequest:microsoft'
2026-05-08 17:45:29.779 [error] Error: Thank you for using GitHub Copilot. Your subscription has ended. You are currently logged in as claudioRoliveira.
	at Bre._authShowWarnings (c:\Users\tuxpl\AppData\Local\Programs\Microsoft VS Code\8b640eef5a\resources\app\extensions\copilot\dist\extension.js:1742:18064)
	at process.processTicksAndRejections (node:internal/process/task_queues:103:5)
	at async Bre.getCopilotToken (c:\Users\tuxpl\AppData\Local\Programs\Microsoft VS Code\8b640eef5a\resources\app\extensions\copilot\dist\extension.js:1742:16253)
	at async Mge.getCopilotToken (c:\Users\tuxpl\AppData\Local\Programs\Microsoft VS Code\8b640eef5a\resources\app\extensions\copilot\dist\extension.js:1400:7787)
	at async lpe.updateCachedToken (c:\Users\tuxpl\AppData\Local\Programs\Microsoft VS Code\8b640eef5a\resources\app\extensions\copilot\dist\extension.js:2998:8746)
2026-05-08 17:45:29.781 [error] Error: Thank you for using GitHub Copilot. Your subscription has ended. You are currently logged in as claudioRoliveira.
	at Bre._authShowWarnings (c:\Users\tuxpl\AppData\Local\Programs\Microsoft VS Code\8b640eef5a\resources\app\extensions\copilot\dist\extension.js:1742:18064)
	at process.processTicksAndRejections (node:internal/process/task_queues:103:5)
	at async Bre.getCopilotToken (c:\Users\tuxpl\AppData\Local\Programs\Microsoft VS Code\8b640eef5a\resources\app\extensions\copilot\dist\extension.js:1742:16253)
	at async Mge.getCopilotToken (c:\Users\tuxpl\AppData\Local\Programs\Microsoft VS Code\8b640eef5a\resources\app\extensions\copilot\dist\extension.js:1400:7787)
	at async Mk._fetchModels (c:\Users\tuxpl\AppData\Local\Programs\Microsoft VS Code\8b640eef5a\resources\app\extensions\copilot\dist\extension.js:6832:4399)
t.
RAW_BUFFERClick to expand / collapse

Preflight Checklist

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

What's Wrong?

When I try to use Claude COde on VsCode it shows an error message

<img width="575" height="74" alt="Image" src="https://github.com/user-attachments/assets/cbda3b33-f2f6-483d-92be-e71572e0b7be" />

What Should Happen?

Claude should open, but it is not happening, I downgrade to previous version

Error Messages/Logs

2026-05-08 17:45:22.389 [info] Extension host with pid 32972 started
2026-05-08 17:45:22.389 [info] Skipping acquiring lock for c:\Users\tuxpl\AppData\Roaming\Code\User\workspaceStorage\3a175098a07337e5451080ed15b1519e.
2026-05-08 17:45:22.807 [info] ExtensionService#_doActivateExtension vscode.github-authentication, startup: false, activationEvent: 'onAuthenticationRequest:github'
2026-05-08 17:45:22.859 [info] ExtensionService#_doActivateExtension mechatroner.rainbow-csv, startup: false, activationEvent: 'onLanguage:plaintext'
2026-05-08 17:45:22.871 [info] ExtensionService#_doActivateExtension vscode.emmet, startup: false, activationEvent: 'onLanguage'
2026-05-08 17:45:22.906 [info] ExtensionService#_doActivateExtension vscode.extension-editing, startup: false, activationEvent: 'onLanguage:markdown'
2026-05-08 17:45:22.924 [info] ExtensionService#_doActivateExtension vscode.markdown-language-features, startup: false, activationEvent: 'onLanguage:markdown'
2026-05-08 17:45:23.118 [info] ExtensionService#_doActivateExtension vscode.terminal-suggest, startup: false, activationEvent: 'onTerminalShellIntegration:*'
2026-05-08 17:45:23.528 [info] ExtensionService#_doActivateExtension vscode.markdown-math, startup: false, activationEvent: 'api', root cause: vscode.markdown-language-features
2026-05-08 17:45:23.863 [info] ExtensionService#_doActivateExtension vscode.git-base, startup: true, activationEvent: '*', root cause: vscode.git
2026-05-08 17:45:23.873 [info] ExtensionService#_doActivateExtension ms-python.python, startup: true, activationEvent: 'workspaceContains:pyproject.toml'
2026-05-08 17:45:24.030 [info] ExtensionService#_doActivateExtension ms-python.vscode-pylance, startup: true, activationEvent: 'workspaceContains:pyproject.toml'
2026-05-08 17:45:24.518 [info] ExtensionService#_doActivateExtension vscode.git, startup: true, activationEvent: '*'
2026-05-08 17:45:24.576 [info] ExtensionService#_doActivateExtension vscode.github, startup: true, activationEvent: '*'
2026-05-08 17:45:24.578 [info] ExtensionService#_doActivateExtension ms-python.vscode-python-envs, startup: false, activationEvent: 'api', root cause: ms-python.python
2026-05-08 17:45:25.018 [info] Eager extensions activated
2026-05-08 17:45:25.062 [info] ExtensionService#_doActivateExtension GitHub.copilot-chat, startup: false, activationEvent: 'onStartupFinished'
2026-05-08 17:45:26.157 [info] ExtensionService#_doActivateExtension vscode.debug-auto-launch, startup: false, activationEvent: 'onStartupFinished'
2026-05-08 17:45:26.160 [info] ExtensionService#_doActivateExtension vscode.merge-conflict, startup: false, activationEvent: 'onStartupFinished'
2026-05-08 17:45:26.176 [info] ExtensionService#_doActivateExtension Anthropic.claude-code, startup: false, activationEvent: 'onStartupFinished'
2026-05-08 17:45:26.258 [error] Activating extension Anthropic.claude-code failed due to an error:
2026-05-08 17:45:26.258 [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\tuxpl\.vscode\extensions\anthropic.claude-code-2.1.136-win32-x64\extension.js:103:5579)
	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/tuxpl/AppData/Local/Programs/Microsoft%20VS%20Code/8b640eef5a/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:806:6589)
	at n._load (file:///c:/Users/tuxpl/AppData/Local/Programs/Microsoft%20VS%20Code/8b640eef5a/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:652:28855)
	at n._load (file:///c:/Users/tuxpl/AppData/Local/Programs/Microsoft%20VS%20Code/8b640eef5a/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:644:25997)
	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\tuxpl\AppData\Local\Programs\Microsoft VS Code\8b640eef5a\resources\app\extensions\copilot\dist\extension.js:494:36345)
	at require (node:internal/modules/helpers:147:16)
	at _P._doLoadModule (file:///c:/Users/tuxpl/AppData/Local/Programs/Microsoft%20VS%20Code/8b640eef5a/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:655:1487)
2026-05-08 17:45:26.258 [info] ExtensionService#_doActivateExtension ms-vscode-remote.remote-containers, startup: false, activationEvent: 'onStartupFinished'
2026-05-08 17:45:26.377 [info] ExtensionService#_doActivateExtension openai.chatgpt, startup: false, activationEvent: 'onStartupFinished'
2026-05-08 17:45:26.652 [info] ExtensionService#_doActivateExtension vscode.microsoft-authentication, startup: false, activationEvent: 'onAuthenticationRequest:microsoft'
2026-05-08 17:45:29.779 [error] Error: Thank you for using GitHub Copilot. Your subscription has ended. You are currently logged in as claudioRoliveira.
	at Bre._authShowWarnings (c:\Users\tuxpl\AppData\Local\Programs\Microsoft VS Code\8b640eef5a\resources\app\extensions\copilot\dist\extension.js:1742:18064)
	at process.processTicksAndRejections (node:internal/process/task_queues:103:5)
	at async Bre.getCopilotToken (c:\Users\tuxpl\AppData\Local\Programs\Microsoft VS Code\8b640eef5a\resources\app\extensions\copilot\dist\extension.js:1742:16253)
	at async Mge.getCopilotToken (c:\Users\tuxpl\AppData\Local\Programs\Microsoft VS Code\8b640eef5a\resources\app\extensions\copilot\dist\extension.js:1400:7787)
	at async lpe.updateCachedToken (c:\Users\tuxpl\AppData\Local\Programs\Microsoft VS Code\8b640eef5a\resources\app\extensions\copilot\dist\extension.js:2998:8746)
2026-05-08 17:45:29.781 [error] Error: Thank you for using GitHub Copilot. Your subscription has ended. You are currently logged in as claudioRoliveira.
	at Bre._authShowWarnings (c:\Users\tuxpl\AppData\Local\Programs\Microsoft VS Code\8b640eef5a\resources\app\extensions\copilot\dist\extension.js:1742:18064)
	at process.processTicksAndRejections (node:internal/process/task_queues:103:5)
	at async Bre.getCopilotToken (c:\Users\tuxpl\AppData\Local\Programs\Microsoft VS Code\8b640eef5a\resources\app\extensions\copilot\dist\extension.js:1742:16253)
	at async Mge.getCopilotToken (c:\Users\tuxpl\AppData\Local\Programs\Microsoft VS Code\8b640eef5a\resources\app\extensions\copilot\dist\extension.js:1400:7787)
	at async Mk._fetchModels (c:\Users\tuxpl\AppData\Local\Programs\Microsoft VS Code\8b640eef5a\resources\app\extensions\copilot\dist\extension.js:6832:4399)
t.

Steps to Reproduce

Open VSCode with latest version of Claude Code Extension, try to open the Claude Code chat window

Claude Model

None

Is this a regression?

Yes, this worked in a previous version

Last Working Version

2.1.133

Claude Code Version

2.1.76

Platform

Anthropic API

Operating System

Windows

Terminal/Shell

VS Code integrated terminal

Additional Information

No response

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

claude-code - 💡(How to fix) Fix [BUG] Extension v2.1.136 fails to activate on Windows — TypeError on createRequire