Skip to content

View() on lists shows blank pane — jquery.json-viewer.css path mismatch in 2.8.7 #1687

Description

@rafjohnson

Environment

VSCode R Extension version: 2.8.7
OS: Fedora 43
R version: 4.5.3

Describe the bug

Calling View() on an R list opens the viewer pane but renders nothing.

Image

The webview logs the following error:
ERR Webview.loadLocalResource - Error using fileReader. requestUri: file:///home/.../.vscode/extensions/reditorsupport.r-2.8.7/dist/resources/jquery.json-viewer.css resourceToLoad: file:///home/.../.vscode/extensions/reditorsupport.r-2.8.7/dist/resources/jquery.json-viewer.css

Image

Root cause

The extension references dist/resources/jquery.json-viewer.css but the file is actually located at dist/resources/json-viewer/jquery.json-viewer.css. The resource moved into a subdirectory but the path reference was not updated.

Workaround

Copying jquery.json-viewer.css from dist/resources/json-viewer/ up to dist/resources/ restores functionality.

Expected behavior

View() on a list should display the tree viewer without manual file manipulation.

Image

Activity

  1. PD-LUHC commented on Apr 16, 2026

    @PD-LUHC

    Is there any discernible impact from the missing jquery.json-viewer.js? I'm getting that same errors and wondering if it is worth moving both the css and js.

  2. randy3k commented on May 2, 2026

    @randy3k
    Member

    3.0.0-rc1 is on testing, it should be great if you can install
    https://github.com/REditorSupport/vscode-R/releases/tag/latest
    and let me know if everything is working as intended.

  3. yuanyang11510 commented on Sep 1, 2026

    @yuanyang11510

    For me Copying jquery.json-viewer.js rather than jquery.json-viewer.css from dist/resources/json-viewer/ up to dist/resources/ restores functionality works... This problem has remained unresolved for a long time, since a time I cannot remember. Thankfully found this solution here through ChatGPT...

  4. added this to the 3.x milestone on Sep 21, 2026
  5. Fred-Wu commented on Sep 21, 2026

    @Fred-Wu
    Contributor

    This should be addressed by PR #1741 with a new list viewer design.

  6. modified the milestones: 3.x, 3.1.0 on Oct 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions