Closed char0n closed 3 years ago
Workaround is to to run the following command inside ./node_modules/tree-sitter-yaml
directory:
$ NODE_OPTIONS='-r core-js/stable @babel/register' tree-sitter generate ./grammar.js && node-gyp build
I'll upgrade to the newest tree-sitter this weekend.
Thanks!
Latest 3.0.1 version seems to be incompatible with latest tree-sitter toolchain. When used it errors with
Incompatible language version. Compatible range: 13 - 13. Got: 11
. More context about what changed in tree-sitter can be found here: https://github.com/tree-sitter/tree-sitter/pull/943. Probably we just need to regenerate theparser.c
and release new package.