thunder-client-support icon indicating copy to clipboard operation
thunder-client-support copied to clipboard

InvalidStateError when opening menu

Open jamac-dumas opened this issue 1 year ago • 8 comments

Describe the bug

When I open Thunder Client in VS Code, the sidebar menu is blank, and Code displays an error pop-up with the following message:

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

I tried restarting VS Code as well as uninstalling & reinstalling the extension.

Here is what it looks like: image

To Reproduce

  • Install Thunder Client extension
  • Open Thunder Client menu

Expected behavior

Menu isn't blank

Platform:

  • OS: Fedora 40
  • vscode version: 1.91.1
  • node version: 14.21.3
  • extension version: 2.24.13

Are you using the free version/paid version/trial: Free

jamac-dumas avatar Aug 05 '24 15:08 jamac-dumas

Please reload vscode or uninstall and reinstall extension

rangav avatar Aug 05 '24 15:08 rangav

Please reload vscode or uninstall and reinstall extension

As I mentioned, I tried both of those things already - did not fix the issue.

jamac-dumas avatar Aug 05 '24 15:08 jamac-dumas

Ok try installing previous version

rangav avatar Aug 05 '24 15:08 rangav

Still giving the same error, I even tried going back multiple versions, same thing.

jamac-dumas avatar Aug 05 '24 15:08 jamac-dumas

Try Install previous version of vscode

rangav avatar Aug 05 '24 15:08 rangav

I have same issue after upgrading vscode to 1.93.1

artempas avatar Sep 20 '24 14:09 artempas

  1. Uninstall and reinstall extension
  2. Try Install previous version of vscode

rangav avatar Sep 20 '24 14:09 rangav

killall code helped

artempas avatar Sep 20 '24 14:09 artempas