[BUG] VS Code account issue
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?
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.
<img width="1606" height="935" alt="Image" src="https://github.com/user-attachments/assets/1c20df3a-8d8d-480c-930c-e2d8e53a19ec" />
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_
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗