vscode-pdfviewer icon indicating copy to clipboard operation
vscode-pdfviewer copied to clipboard

Error loading the PDF.

Open MichaelKlmn opened this issue 1 year ago • 2 comments

When trying to view the PDF in VSCode the pdf is clickable to become a window yet nothing is displayed. Error window in the bottom right appears stating "Error loading webview: Error: Could not register service worker: InvalidStateError: Failed to register a ServiceWorker: The document is in an invalid state.."

Screenshot 2024-02-14 at 3 33 29 PM

MichaelKlmn avatar Feb 14 '24 20:02 MichaelKlmn

getting same error today... have anyone solved it???

a-sajjad72 avatar Apr 06 '24 12:04 a-sajjad72

Also got the same error (Windows 11). I just solved it by closing all VSCode windows (reloading does not work) and then opening the workspace again.

trungnt2910 avatar Apr 07 '24 12:04 trungnt2910