-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
antlr4 Trees module missing in JS runtime #4715
Comments
Have you tried import Trees from antlr4 ?Envoyé de mon iPhoneLe 17 oct. 2024 à 03:02, Lawrence Zeng ***@***.***> a écrit :
I am trying import Trees module from JS runtime, but get "Cannot find module 'antlr4/tree/Trees' or its corresponding type declarations" error. See below screenshot.
Screenshot.2024-10-16.at.8.52.55.PM.png (view on web)
import Trees from "antlr4/tree/Trees";
Based on the source code Trees.js, I should be able to import use above syntax.
Can someone look into why this module was not packaged into the runtime?
Target runtime: JavaScript / Typescript
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you are subscribed to this thread.Message ID: ***@***.***>
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I am trying import Trees module from JS runtime, but get "Cannot find module 'antlr4/tree/Trees' or its corresponding type declarations" error. See below screenshot.
import Trees from "antlr4/tree/Trees";
Based on the source code Trees.js, I should be able to import use above syntax.
Can someone look into why this module was not packaged into the runtime?
Target runtime: JavaScript / Typescript
Runtime version: 4.13.2
The text was updated successfully, but these errors were encountered: