realm conflict with l10n dependencies. #1645
Labels
O-Community
SDK-Use:Local
T-Bug
Waiting-For-Reporter
Waiting for more information from the reporter before we can proceed
What happened?
The bug I am facing is behaving very similarly to (#1317). But found out they are two different root causes. After run 'dart run build_runner build --delete-conflicting-outputs'
I got this output.
Unhandled exception:
Bad state: Unable to generate package graph, no
/Users/justin/Desktop/flutter-project/flutter project/RG-LINK/.dart_tool/flutter_gen/pubspec.yaml
found.#0 _pubspecForPath (package:build_runner_core/src/package_graph/package_graph.dart:268:5)
#1 _parsePackageDependencies (package:build_runner_core/src/package_graph/package_graph.dart:242:21)
#2 PackageGraph.forPath (package:build_runner_core/src/package_graph/package_graph.dart:120:33)
#3 main (file:///Users/justinchen/.pub-cache/hosted/pub.dev/build_runner-2.4.9/bin/build_runner.dart:27:30) '''
Then I did some research on Google and found this article (dart-lang/build#2835). Basically, the conflict is because I am using International dependency (l10n package). And the
'generate' field must be true to enable translation to happen. In order to fix realm issue, I currently turn this field to false.
Repro steps
just following the setup instructions but nothing happends.
Version
latest
What Atlas Services are you using?
Local Database only
What type of application is this?
Flutter Application
Client OS and version
MacOS
Code snippets
No response
Stacktrace of the exception/crash you're getting
No response
Relevant log output
No response
The text was updated successfully, but these errors were encountered: