You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Whenever I tried to build output with reflectableBuild, I always got this error: ApplyBuilders: Configuring `reflectable:reflectable` in target but this is not a known Builder. Could anyone plz help me?
Then I run with this command: dart bin/builder.dart bin/something.dart
I got this output. But there is no expected print result.
[WARNING] ApplyBuilders: Configuring `reflectable:reflectable` in target `reflection:reflection` but this is not a known Builder
[INFO] BuildDefinition: Initializing inputs
[INFO] BuildDefinition: Reading cached asset graph...
[INFO] BuildDefinition: Reading cached asset graph completed, took 27ms
[INFO] BuildDefinition: Checking for updates since last build...
[INFO] BuildDefinition: Checking for updates since last build completed, took 276ms
[INFO] Build: Running build...
[INFO] Build: Running build completed, took 4ms
[INFO] Build: Caching finalized dependency graph...
[INFO] Build: Caching finalized dependency graph completed, took 17ms
[INFO] Build: Succeeded after 25ms with 0 outputs (0 actions)
The text was updated successfully, but these errors were encountered:
Hi @yhhCh405, I'd recommend that you do a few things differently, in order to follow the normal usage: You should not need bin/builder.dart at all, and the command used to perform the reflectable code generation step should be
> flutter pub run build_runner build bin
(Actually, the package does not seem to depend on anything in Flutter, so it could be turned into a plain Dart package and use dart pub run build_runner build bin).
Whenever I tried to build output with reflectableBuild, I always got this error:
ApplyBuilders: Configuring `reflectable:reflectable` in target but this is not a known Builder
. Could anyone plz help me?In pubspec.yaml
In build.yaml
In bin/builder.dart
In bin/something.dart
Then I run with this command:
dart bin/builder.dart bin/something.dart
I got this output. But there is no expected print result.
The text was updated successfully, but these errors were encountered: