Skip to content

Running langium:generate and build lead to an error that the generated/ast.js has no exported member 'Model' #1630

Answered by msujew
bogdanbiv asked this question in Q&A
Discussion options

You must be logged in to vote

Hey @bogdanbiv,

the generated code is supposed to show how to setup a CLI for the generated default language. Since it uses types from the default language (i.e. the "Hello World" language), it will fail to compile once you start changing the grammar. If you have no need of a CLI, you can just remove the code. Note that the yeoman generator asks you whether you want to setup a CLI for your language.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@bogdanbiv
Comment options

Answer selected by msujew
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants