-
|
Hi, I just created a new empty flutter project and ran the installing Then I ran build_runner But got the error which prevents I tried purging global cache, didn't work, same error. But it worked when I temporarily commented out / uninstall both (However, after first time of using this workaround in a new project, it failed sometime after.) I'm newbie, and don't know what's going out. Thanks for reading. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
|
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 What Flutter version are you on? Does the build work more reliably if you pass |
Beta Was this translation helpful? Give feedback.
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/(whichbuild_runnerdoesn'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)?