excalidraw / excalidraw-vscode

Excalidraw for Visual Studio Code
https://marketplace.visualstudio.com/items?itemName=pomdtr.excalidraw-editor
MIT License
457 stars 55 forks source link

excalidraw broken with vscode 1.82.2 - error loading webview #103

Closed mkeller-gms closed 11 months ago

mkeller-gms commented 1 year ago

Issue Within vscode, excalidraw tabs opens but do not show a drawing, after a few seconds a popup (right buttom) shows 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 created a new file (empty file with .excalidraw extension), as before. But still the issue remains (so I assume documet is in valid state, I mean file is not corrupt)

Versions vscode 1.82.2 (not working) vscode 1.82.1 (working) excalidraw 3.5.1

Situation

janfrederik commented 12 months ago

Excalidraw 3.6.1 doesn't work with 1.83 either. The "runtime status" of the extension says "Not yet activated".

Version info:

image

image

janfrederik commented 12 months ago

Oops, correction. After reloading VSCode, it works perfectly :-)

@mkeller-gms Maybe you should try again with the most recent versions of VSCode and the Excalidraw extension.

pomdtr commented 12 months ago

Maybe there is something sketchy going on here. Let's keep the issue open.

mkeller-gms commented 11 months ago

Retest: vscode 1.83.0 + Excalidraw 3.6.1 -- is working Thank you for your followups.