AykutSarac / jsoncrack-vscode

VS Code extension of JSON Crack. Convert your JSON files into graphs with a single click and view them onto graphs.

Home Page:https://marketplace.visualstudio.com/items?itemName=AykutSarac.jsoncrack-vscode

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[BUG]: Extension does not appear to work on macOS Ventura

spkane opened this issue · comments

Issue description

Three separate people have installed this extension on various macOS systems, and when they open a JSON file and click on the icon for JSON Crack, it simply opens up a blank page, usually with no error, although once I was able to get this:

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

I have no idea if this impacts other systems, but it appears to be impacting multiple macOS installs.

Media & Screenshots

bug

Operating system

  • OS: [e.g. iOS]: macOS 13.0
  • Browser [e.g. chrome, safari]: vscode (chrome, safari, and firefox are all on the system)
  • vscode: 1.73.0

Priority this issue should have

High (immediate attention needed)

Before it worked perfectly on macOS, I noticed that since I updated my macOS to Ventura version 13.0, it no longer works.

vscode:
Version: 1.73.1 (Universal)
Commit: 6261075646f055b99068d3688932416f2346dd3b
Date: 2022-11-09T02:08:38.961Z
Electron: 19.0.17
Chromium: 102.0.5005.167
Node.js: 16.14.2
V8: 10.2.154.15-electron.0
OS: Darwin x64 22.1.0
Sandboxed: No

@rsalmond @dginther Were both of you on macOS 13.0 (Ventura) as well?

Appears to be it is a CSP (Content Security Policy) issue related with newer versions of VS Code, I'll check out this.

I'm on 12.6 Monterey.

Please let me know if it works now.

The extension seems to be functioning now. I'm on 13.0.1 Ventura.

Seems to be the same as my issue #11

👍 sorted for me too, thanks @AykutSarac !

So, I finally had a moment to test this, and I don't see the error anymore, and I am getting a grid in the view window, but I still am not seeing of the JSON node visualizations.

CleanShot 2022-12-02 at 10 09 34

Merging under #29