Skip to content

[BUG] VS Code account issue #26407

Description

@raul9491

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?

Usually using this extension on VS code. An hour ago there is a bar shown with an error "Error loading webview: Error: Could not register service worker: InvalidStateError: Failed to register a ServiceWorker: The document is in an invalid state.."

Followed all the basic troubleshooting, killed the app, reinstall the app and extension. Post reinstallation of the extension, there is no way to log in when installed again. No way report issue on the extension page it self.

Image

What Should Happen?

It should present the not format of Claude code assistant.

Error Messages/Logs

"Error loading webview: Error: Could not register service worker: InvalidStateError: Failed to register a ServiceWorker: The document is in an invalid state.."

Steps to Reproduce

Open the tab after selecting the folder where the code belongs. Click on the top right logo of claude and you get the error. Screenshot attached.

Claude Model

Sonnet (default)

Is this a regression?

Yes, this worked in a previous version

Last Working Version

No response

Claude Code Version

2.1.45

Platform

Anthropic API

Operating System

Windows

Terminal/Shell

PowerShell

Additional Information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    duplicateThis issue or pull request already exists

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions