jonataslaw/get_cli

Failed to build get_cli:get

LittleJamie opened this issue · 9 comments

Failed to build get_cli:get:
.pub-cache/hosted/pub.flutter-io.cn/dcli-2.3.0/lib/src/util/wait_for_ex.dart:38:17: Error: Method not found: 'waitFor'.
value = cli.waitFor(wrapped);
^^^^^^^

image
Same as you

It seems like because Dart has considered waitFor() method as deprecated since roughly April 2023 (v3.19.x) which is around one year ago. And Get CLI last updated 13 months ago, which is in the same time window as the Dart update that started this issue. I can't suggest anyone to downgrade their SDK version but I find that that's the only workaround we can do for now until Get dev team resolve this issue

same the issues, is there any solution?

i am also facing the same problem.
this is temporary solution:
#253

@CuongNV12 @tct68
@LittleJamie @StoneCX
Try downloading it directly from github:
flutter pub global activate -s git https://github.com/jonataslaw/get_cli

@CuongNV12 @tct68 @LittleJamie @StoneCX Try downloading it directly from github: flutter pub global activate -s git https://github.com/jonataslaw/get_cli

nice, this is a good way

@CuongNV12 @tct68 @LittleJamie @StoneCX Try downloading it directly from github: flutter pub global activate -s git https://github.com/jonataslaw/get_cli

Cool ~

@CuongNV12 @tct68 @LittleJamie @StoneCX github에서 직접 다운로드해 보세요: flutter pub global activate -s git https://github.com/jonataslaw/get_cli

i was cured my cancer