tree-sitter / tree-sitter-html

HTML grammar for Tree-sitter
MIT License
136 stars 72 forks source link

Older tree-sitter-cli generating invalid wasm builds #22

Closed rktjmp closed 3 years ago

rktjmp commented 3 years ago

I was getting wasm "table" errors when trying to load a tree-sitter-html.wasm file built from this project, in conjunction with the latest tree-sitter.wasm builds from the main tree sitter repo.

It turns out some backend changes in emscripten was causing the issue.

Updating the tree-sitter-cli version to 0.18+ in package.json resolves the issue.

See: https://github.com/tree-sitter/tree-sitter/issues/873

rktjmp commented 3 years ago

Also #17, #24