Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error loading webview, VScode 1.58 #177

Closed
julia-kurganskaia opened this issue Jul 8, 2021 · 4 comments
Closed

Error loading webview, VScode 1.58 #177

julia-kurganskaia opened this issue Jul 8, 2021 · 4 comments

Comments

@julia-kurganskaia
Copy link

VScode was updated today.

Version: 1.58.0
Commit: 2d23c42a936db1c7b3b06f918cde29561cc47cd6
Date: 2021-07-08T06:53:55.113Z
Electron: 12.0.13
Chrome: 89.0.4389.128
Node.js: 14.16.0
V8: 8.9.255.25-electron.0
OS: Linux x64 5.8.0-59-generic snap

The extension version is 0.13.0.

Before VScode update it was working fine, but after update I got this error:

Error loading webview: Error: Could not register service workers: InvalidStateError: Failed to register a ServiceWorker: The document is in an invalid state..
@AlexCovizzi
Copy link
Owner

Hi @julia-kurganskaia, have you tried uninstalling and reistalling the extension?

@julia-kurganskaia
Copy link
Author

Good morning @AlexCovizzi , yes, I uninstalled and reinstalled the extension, but I still get the same error.

@AlexCovizzi
Copy link
Owner

AlexCovizzi commented Jul 12, 2021

Looks like this and similar errors started to pop up from version 1.56 of VSCode (e.g. microsoft/vscode#125993), do you get the same error for any other extension that uses webviews (for example Git History)?
It would be also useful if you can post the stacktrace

@julia-kurganskaia
Copy link
Author

Hi @AlexCovizzi , I have not changed anything, but it doesn't throw err anymore. Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants