Skip to content
Discussion options

You must be logged in to vote

Thanks for the report! I couldn't reproduce the issue in a fresh project unfortunately. Looking at where that error is thrown, it should only happen when compiling an app in bin/ (which build_runner doesn't do, its entrypoints are in .dart_tool/build).

What Flutter version are you on? Does the build work more reliably if you pass --force-jit (that is, dart run build_runner build --force-jit)?

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@goatt1167
Comment options

@simolus3
Comment options

Answer selected by simolus3
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