visortelle / haskell-spotlight

VSCode extension for Haskell
https://marketplace.visualstudio.com/items?itemName=visortelle.haskell-spotlight
MIT License
108 stars 3 forks source link

VS Code "Error loading webview: Error: Could not register service workers: InvalidStateError:" #16

Closed salimp2009 closed 2 years ago

salimp2009 commented 2 years ago

Describe the bug When i activate spotlight by Alt H , i get an error Error loading webview: Error: Could not register service workers: InvalidStateError: Failed to register a ServiceWorker: The document is in an invalid state..

To Reproduce Steps to reproduce the behavior:

  1. Open a Haskell project
  2. Click on Alt H
  3. At the bottom corner of VS Code i get the error Error loading webview: Error: Could not register service workers: InvalidStateError: Failed to register a ServiceWorker: The document is in an invalid state..

Expected behavior Open a search page

Screenshots If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

Additional context See attached screen shot VSCode_HaskellSpotLight

visortelle commented 2 years ago

Hi @salimp2009

Please try to close all VSCode instances and open the extension in a new one.

If it won't help you, please try all listed solutions listed here:

https://stackoverflow.com/questions/67698176/error-loading-webview-error-could-not-register-service-workers-typeerror-fai

salimp2009 commented 2 years ago

Hi @salimp2009

Please try to close all VSCode instances and open the extension in a new one.

If it won't help you, please try all listed solutions listed here:

https://stackoverflow.com/questions/67698176/error-loading-webview-error-could-not-register-service-workers-typeerror-fai

thank you. After opening this issue I disable the extension at VS Code. When you sent the answer , i reenabled and now it works. It worked; i did not have to do anything else. But it seems like a general VS Code issue... Rebooting whole windows might have worked . Thanks a lot that is a great tool

I will close it

visortelle commented 2 years ago

Perfect. You are welcome. 🙂