GetDutchie / brick

An intuitive way to work with persistent data in Dart

Home Page:https://getdutchie.github.io/brick/#/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

build_runner build error

Phoenix986 opened this issue · comments

I got this error when I run the flutter pub run build_runner build command

[INFO] Generating build script completed, took 390ms

[INFO] Precompiling build script......
[WARNING] /D:/flutter/.pub-cache/hosted/pub.dartlang.org/brick_offline_first_with_rest_build-1.0.0+2/lib/src/offline_first_rest_generators.dart:134:33: Error: Method not found: 'SerdesGenerator.getAssociationMethod'.
                SerdesGenerator.getAssociationMethod(argType, query: 'Query(where: $where)');
                                ^^^^^^^^^^^^^^^^^^^^
/D:/flutter/.pub-cache/hosted/pub.dartlang.org/brick_offline_first_with_rest_build-1.0.0+2/lib/src/offline_first_rest_generators.dart:169:57: Error: Method not found: 'SerdesGenerator.getAssociationMethod'.
        final getAssociationStatement = SerdesGenerator.getAssociationMethod(type,
                                                        ^^^^^^^^^^^^^^^^^^^^
[INFO] Precompiling build script... completed, took 884ms

[SEVERE] Failed to precompile build script .dart_tool/build/entrypoint/build.dart.
This is likely caused by a misconfigured builder definition.

pub finished with exit code 78

i'm started from a new "helllo world" app and followed the quick start documentation https://greenbits.github.io/brick/#/?id=quick-start

@Phoenix986 sorry about that, I forgot to publish the version on the build package. Please update that package to 1.1.0

thanks now it works well