vscode-git-graph icon indicating copy to clipboard operation
vscode-git-graph copied to clipboard

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

Open ahammond opened this issue 3 years ago • 3 comments

Describe the Bug Git Graph fails to open

Steps to Reproduce Steps to reproduce the behaviour:

  1. Cmd-Shift-P "> Git-Graph: View Git Graph (git log)"
Error loading webview: Error: Could not register service workers: InvalidStateError: Failed to register a ServiceWorker: The document is in an invalid state..

Expected Behaviour I expect to see the graph.

Environment

  • Git Graph Extension Version: [1.30.0]
  • Visual Studio Code Version: [1.66.1]
  • Operating System: [MacOS 12.1]

Screenshots (optional) Add any screenshots showing the bug.

Additional Context (optional) Add any other context about the problem here.

⚠ Please make sure you complete all of the required sections of this template. Without this required information, it will be harder to replicate this bug, and cause additional delays in resolving it.

ahammond avatar Apr 08 '22 16:04 ahammond

@ahammond I think it's not vscode-git-graph problem but vscode problem.

Please refer to the issue here

I had the same problem, but when I completely shut down vscode and restarted it, the problem was solved.

KimDoubleB avatar Apr 11 '22 05:04 KimDoubleB

I'd tried restarting and it didn't work but not sure what changed tried closing and opening again and this time it worked.

c-git avatar Oct 19 '23 23:10 c-git