Troubleshooting Webview loading error
If you use Microsoft Visual Studio Code - Open Source in a private browsing window, you might encounter the following error message: Error loading webview: Error: Could not register service workers.
This is a known issue affecting following browsers:
-
Google Chrome in Incognito mode
-
Mozilla Firefox in Private Browsing mode
Browser | Workarounds |
---|---|
Google Chrome |
Go to Settings → Privacy and security → Cookies and other site data → Allow all cookies. |
Mozilla Firefox |
Webviews are not supported in Private Browsing mode. See this reported bug for details. |