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
In order to route, prioritize, and act on this as soon as possible please include:
Dart SDK version(3.0.5)
Build Runner version ^2.4.6
What builder(s) you are using (or writing yourself). Try to give a short summary of what they do.
I am using the flutter pub run build_runner build --delete-conflicting-outputs
I tried using the above version and previous version of build_runner to genrate my models and i got the error below
Unhandled exception:
Bad state: Unable to generate package graph, no /home/olawills/Desktop/myFlutterApps/Flutter Projects/dating_app_bloc/dating_app/.dart_tool/flutter_gen/pubspec.yaml found.
#0 _pubspecForPath (package:build_runner_core/src/package_graph/package_graph.dart:253:5) Nail down the public api for builders #1 _parsePackageDependencies (package:build_runner_core/src/package_graph/package_graph.dart:227:21) Write a transformer wrapper to run in pub serve/build #2 PackageGraph.forPath (package:build_runner_core/src/package_graph/package_graph.dart:105:33)
#3 main (file:///home/olawills/.pub-cache/hosted/pub.dev/build_runner-2.4.6/bin/build_runner.dart:27:30)
My Operating System is Linux
I am using json serializable and json annotation to generate models for my app
Screenshot about tghe error can be found below
The text was updated successfully, but these errors were encountered:
Thank you for taking the time to file an issue!
In order to route, prioritize, and act on this as soon as possible please include:
Unhandled exception:
Bad state: Unable to generate package graph, no
/home/olawills/Desktop/myFlutterApps/Flutter Projects/dating_app_bloc/dating_app/.dart_tool/flutter_gen/pubspec.yaml
found.#0 _pubspecForPath (package:build_runner_core/src/package_graph/package_graph.dart:253:5)
Nail down the public api for builders #1 _parsePackageDependencies (package:build_runner_core/src/package_graph/package_graph.dart:227:21)
Write a transformer wrapper to run in pub serve/build #2 PackageGraph.forPath (package:build_runner_core/src/package_graph/package_graph.dart:105:33)
Screenshot about tghe error can be found below
The text was updated successfully, but these errors were encountered: