markmap / markmap-vscode

Integrate markmap into VSCode
https://marketplace.visualstudio.com/items?itemName=gera2ld.markmap-vscode
MIT License
220 stars 21 forks source link

Error on vscode #40

Closed adamatti closed 2 years ago

adamatti commented 2 years ago

I started to face this issue:

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

... even with simple docs like

# Main

## node 1

- test
- test 2

Is there something I can try to fix/debug? Thanks in advance!

gera2ld commented 2 years ago

We don't have a service worker in VSCode so this is definitely not something from the extension. Can you provide a reproduction? I have no idea what the issue is.

adamatti commented 2 years ago

Sorry... I tried both create a new doc (the previous one provided) or open an existing one and ran the Open as markmap, then got this error message. I will remove other extensions and try again.

adamatti commented 2 years ago

It is working again, not sure what happen

githubpsyche commented 1 year ago

Heyy, I had this same issue and googled it and found this. Seems to be a problem with process management around VSCode; totally killing and restarting the software solved it for me.