gitHistoryVSCode
gitHistoryVSCode copied to clipboard
webview error when opening history for a file
steps to repro:
- have a file open which is in a revision
-
CMD SHIFR P
- hit
View File History
- 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
I had the same problem. Discovered that it occurred when I had multiple workspaces open. When it occurs:
- Close all VSCode windows
- Open just 1 project
- Try again