Skip to content
This repository has been archived by the owner on Feb 6, 2019. It is now read-only.

The Incompatible language version error is confusing #42

Open
banacorn opened this issue Sep 24, 2018 · 1 comment
Open

The Incompatible language version error is confusing #42

banacorn opened this issue Sep 24, 2018 · 1 comment

Comments

@banacorn
Copy link

Uncaught RangeError: Incompatible language version. Expected 8. Got 9

I cannot understand this error message (though I kept hitting it, that's another problem 😢).

  • Is it Atom that is expecting 8, but got 9?
  • Or is it tree-sitter that is expecting 8, but got 9?
@maxbrunsfeld
Copy link
Contributor

It means that you're using an older version of the tree-sitter module, but your parser was generated with a newer version of tree-sitter-cli, and the versions are incompatible. You probably just need to npm update tree-sitter?

But yeah, we could probably include more lines of explanation in that error message.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants