Skip to content

When run 'npx prisma generate' throw an error: Invoked Dart programs must have a 'main' function defined #378

Answered by sdfgssdf
sdfgssdf asked this question in Q&A
Discussion options

You must be logged in to vote

I truly appreciate your response and it is now working.

I was following my existing template app and forgot to run dart pub get.

Replies: 1 comment 1 reply

Comment options

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

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