[BUG] I Can't open the claude code by extension in vs code

Open 💬 0 comments Opened Jun 11, 2026 by Esagakbisacoding

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?

I have this error, i have do all the solution on the internet but it still error
Error loading webview: Error: Could not register service worker: AbortError: Failed to register a ServiceWorker for scope ('vscode-webview://0jh0j6c7848ot3r40d3cjeiv410l170occcdrtlh1drh3b45ambi/') with script ('vscode-webview://0jh0j6c7848ot3r40d3cjeiv410l170occcdrtlh1drh3b45ambi/service-worker.js?v=5&vscode-resource-base-authority=vscode-resource.vscode-cdn.net&remoteAuthority='): Operation has been aborted.

What Should Happen?

Claude code via extension must be normal extension

Error Messages/Logs

Error loading webview: Error: Could not register service worker: AbortError: Failed to register a ServiceWorker for scope ('vscode-webview://0jh0j6c7848ot3r40d3cjeiv410l170occcdrtlh1drh3b45ambi/') with script ('vscode-webview://0jh0j6c7848ot3r40d3cjeiv410l170occcdrtlh1drh3b45ambi/service-worker.js?v=5&vscode-resource-base-authority=vscode-resource.vscode-cdn.net&remoteAuthority='): Operation has been aborted.

Steps to Reproduce

-

Claude Model

None

Is this a regression?

Yes, this worked in a previous version

Last Working Version

_No response_

Claude Code Version

2.1.172

Platform

Anthropic API

Operating System

Windows

Terminal/Shell

VS Code integrated terminal

Additional Information

_No response_

View original on GitHub ↗