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
Everything works fine until I add https://pub.dev/packages/localizely_sdk
When I try to start build, it completes but with the error
[INFO] Checking for unexpected pre-existing outputs. completed, took 0ms
[SEVERE] localizely_sdk:localizely_builder on $package$:
Building package executable...
Built build_runner:build_runner.
[INFO] Generating build script completed, took 332ms
FlutterGen v5.6.0 Loading ... pubspec.yaml
[WARNING] Throwing away cached asset graph because the build phases have changed. This most commonly would happen as a result of adding a new dependency or updating your dependencies.
[WARNING] Throwing away cached asset graph because the language version of some package(s) changed. This would most commonly happen when updating dependencies or changing your min sdk constraint.
[INFO] Cleaning up outputs from previous builds. completed, took 165ms
[INFO] Generating build script completed, took 129ms
[WARNING] Invalidated precompiled build script due to missing asset graph.
[INFO] Precompiling build script... completed, took 9.5s
FlutterGen v5.8.0 Loading ...
Reading FlutterGen options from pubspec.yaml
[INFO] Building new asset graph completed, took 4.6s
[INFO] Checking for unexpected pre-existing outputs. completed, took 0ms
[SEVERE] localizely_sdk:localizely_builder on $package$:
UnexpectedOutputException: client_app|lib/src/core/localization/generated/intl/localizely_localizations.dart
Expected only: {client_app|.dart_tool/flutter_gen/gen_l10n/localizely_localizations.dart}
Generated: lib/src/core/assets/generated/assets.gen.dart
Generated: lib/src/core/assets/generated/fonts.gen.dart
FlutterGen finished.
[INFO] Running build completed, took 49.1s
[INFO] Caching finalized dependency graph completed, took 482ms
[SEVERE] Failed after 49.6s
Code of Conduct
I agree to follow this project's Code of Conduct
The text was updated successfully, but these errors were encountered:
@AlexV525 I was also using crowdin_sdk library that was generating everything in the same folder and nothing broke. But witg this, when I set up this as a synthetic in l10n, it conflicts with flutter_gen from the library. So I'm looking for some workaround how to use it as non-synthetic and generate things with flutter_gen.
Is there an existing issue for this?
Version
5.8.0
Command type
build_runner (Default)
What happened?
Everything works fine until I add https://pub.dev/packages/localizely_sdk$package$ :
When I try to start build, it completes but with the error
[INFO] Checking for unexpected pre-existing outputs. completed, took 0ms
[SEVERE] localizely_sdk:localizely_builder on
UnexpectedOutputException: client_app|lib/src/core/localization/generated/intl/localizely_localizations.dart
Expected only: {client_app|.dart_tool/flutter_gen/gen_l10n/localizely_localizations.dart}
Removing generate: true doesn't help, intl not synthetic already
Relevant a pubspec.yaml.
Relevant log output
Code of Conduct
The text was updated successfully, but these errors were encountered: