Zulip Chat Archive

Stream: lean4

Topic: Error loading webview: Error: Could not register service wor


Daniel Weber (Sep 25 2024 at 12:19):

I added an abbreviation in settings.json, and after restarting vscode the abbreviation works, but now the infoview doesn't load, and it gives the error

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

I tried removing the removing the abbreviation and restarting vscode multiple times, but it didn't help.
The highlighting, hover text, etc. still work.
Any idea what's going on? How can I debug this? My vscode version is 1.85.1, and the extension version is 0.0.178.

Daniel Weber (Sep 25 2024 at 12:33):

Killing all vscode processes solved this

Ruben Van de Velde (Sep 25 2024 at 13:08):

Yeah, that's what I was going to suggest


Last updated: May 02 2025 at 03:31 UTC