Closed myThorsten closed 6 months ago
I've released 3.4.0 which resolves the issue.
for dcli doctor to work you need to install the dcli sdk tooling via:
dart pub global activate dcli
finally to use a version of dart after 3.2.0 you will need to use the dcli 4.x alpha.
dcli 3.x only works with dart 3.2 and earlier.
Thank you for your fast response 😄
Here is some feedback:
Since I am on Dart SDK version: 3.3.2 (stable) (Tue Mar 19 20:44:48 2024 +0000) on "windows_x64"
I tried using dcli: ^4.0.1-alpha.13, this was the result:
dart pub get --no-example
Resolving dependencies...
Note: meta is pinned to version 1.11.0 by flutter_localizations from the flutter SDK.
See https://dart.dev/go/sdk-version-pinning for details.
...
And because dcli >=4.0.1-alpha.11 depends on dcli_common ^4.0.1-alpha.11 which depends on meta ^1.12.0, ... is incompatible with dcli >=4.0.1-alpha.11.
...
You can try the following suggestion to make the pubspec resolve:
* Consider downgrading your constraint on dcli: dart pub add dcli:^3.3.6
exit code 1
Then I tried using dcli: ^3.4.0
which works when I use dart --enable_deprecated_wait_for
.
I am hopeful that you can tell me what I am doing wrong.
Describe the bug Unable to run script.
To Reproduce Create a minimal script based on documentation, but replace dcli: ^1.34.0 with [^3.3.6](dcli: ^3.3.6)
Logs
Run dcli doctor:
flutter doctor: If that helps:
Meaning: command not found