Can't locate Dart SDK #56942
Labels
area-dart-cli
Use area-dart-cli for issues related to the 'dart' command like tool.
closed-as-intended
Closed as the reported issue is expected behavior
triage-automation
See https://github.com/dart-lang/ecosystem/tree/main/pkgs/sdk_triage_bot.
type-bug
Incorrect behavior (everything from a crash to more subtle misbehavior)
dart run
isn't locating my Flutter SDK.From the base project directory, when I run dart run build_runner build, or even dart run on it's own, I get the following error:
Because (name) depends on flutter_test from sdk which doesn't exist (the Flutter SDK is not available), version solving failed.
I ran flutter pub run build_runner build, which didn't give the same error. However, I'd like to use dart run since flutter pub run is deprecated. Why can't Dart find the Flutter SDK?
Stack Overflow question link (has more information): question
dart info
):General info
Project info
Process info
Linux (Arch)
The text was updated successfully, but these errors were encountered: