gitHistoryVSCode icon indicating copy to clipboard operation
gitHistoryVSCode copied to clipboard

webview error when opening history for a file

Open zilahir opened this issue 2 years ago • 1 comments

steps to repro:

  1. have a file open which is in a revision
  2. CMD SHIFR P
  3. hit View File History
  4. error appears:

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

info:

Version: 1.60.2 (Universal)
Commit: 7f6ab5485bbc008386c4386d08766667e155244e
Date: 2021-09-22T11:59:27.195Z (1 wk ago)
Electron: 13.1.8
Chrome: 91.0.4472.164
Node.js: 14.16.0
V8: 9.1.269.39-electron.0
OS: Darwin x64 20.6.0

version of Git History: v0.6.18

zilahir avatar Oct 04 '21 09:10 zilahir

I had the same problem. Discovered that it occurred when I had multiple workspaces open. When it occurs:

  1. Close all VSCode windows
  2. Open just 1 project
  3. Try again

remmelttennapel avatar Jun 22 '23 06:06 remmelttennapel