1
I added the following packages and versions build_runner: ^1.10.2
and mobx_codegen: ^1.1.0+1
in the archive pubspec.yaml
of my project Flutter and at the time of automatic code generation I got the following looping 'error/message':
...
[INFO] 31m 49s elapsed, 1/17 actions completed.
[INFO] 31m 50s elapsed, 1/17 actions completed.
[INFO] 31m 51s elapsed, 1/17 actions completed.
[INFO] 31m 53s elapsed, 1/17 actions completed.
[INFO] 31m 54s elapsed, 1/17 actions completed.
[WARNING] No actions completed for 15.0s, waiting on:
- moor_generator:moor_generator on lib/login/login_store.dart
- moor_generator:moor_generator on lib/login/widgets/background.dart
- moor_generator:moor_generator on lib/login/account_picture.dart
- moor_generator:moor_generator on lib/commom/widgets/custom_text_field.dart
.. and 11 more
...
The message appeared repeatedly, as you can see about 30 minutes.
I’ve looked in some places for a solution like:
- https://github.com/simolus3/moor/issues/553
- https://gitter.im/dart-lang/build?at=5eb9a3f820eaac18530279ba
And I found a solution and I’d like to share.