Skip to content

playground is broken #187

@setop

Description

@setop

The playground is my goto when experimenting parsing elm with tree-sitter.

But currently I get a blank page with an error in the console :

tree-sitter.js:1 Uncaught (in promise) Error: Incompatible language version 15. Compatibility range 13 through 14.
    at Parser.setLanguage (tree-sitter.js:1:57276)
    at handleLanguageChange (playground.js:100:12)
    at async playground.js:78:3
tree-sitter.js:1 Uncaught (in promise) Error: Parsing failed
    at Parser.parse (tree-sitter.js:1:58160)
    at handleCodeChange (playground.js:115:28)
    at it (codemirror.min.js:1:17760)
    at jn (codemirror.min.js:1:65062)
    at codemirror.min.js:1:61536
    at codemirror.min.js:1:61545
    at codemirror.min.js:1:61216
    at Gn (codemirror.min.js:1:61222)
    at ko.setValue (codemirror.min.js:1:65607)
    at Cl.setValue (codemirror.min.js:1:166402)
playground.js:326 Uncaught TypeError: Cannot read properties of null (reading 'rootNode')
    at handleCursorMovement (playground.js:326:23)
    at later (playground.js:453:30)

Both in Firefox and Chromium.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions