-
Notifications
You must be signed in to change notification settings - Fork 42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"Accessing non-existent property 'INVALID_ALT_NUMBER'" warning #551
Comments
Hi @palfrey -- thanks for reporting this. We especially appreciate the link to the upstream bug report! We'll keep an eye on that report and upgrade ANTLR once a new version is released. BTW -- we're currently targeting Node LTS versions, so if you want the most well tested experience of SUSHI, I'd recommend Node 12.x for now... |
antlr/antlr4#2931 should fix this, and got released as antlr 4.9 |
Yes, we saw that... but unfortunately, antlr 4.9 has breaking changes (apparently they do not follow semantic versioning). The most concerning for us is that antlr 4.9 requires Node 14 (it fails in Node 12). So given the choice between:
we're currently opting to keep antlr 4.8 for now. |
This is no longer an issue since SUSHI now requires Node 18. |
Every time I run sushi I get the following warning twice.
(node:39554) Warning: Accessing non-existent property 'INVALID_ALT_NUMBER' of module exports inside circular dependency
I don't think it's caused any issues, but looks like it should be at least looked at. Upstream bug is antlr/antlr4#2834
The text was updated successfully, but these errors were encountered: