jonataslaw / get_cli

Official Getx CLI
Apache License 2.0
578 stars 164 forks source link

Failed to build get_cli:get #258

Open LittleJamie opened 2 months ago

LittleJamie commented 2 months ago

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); ^^^^^^^

tct68 commented 2 months ago

image Same as you

rachmanfachri commented 2 months ago

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

StoneCX commented 2 months ago

same the issues, is there any solution?

CuongNV12 commented 2 months ago

i am also facing the same problem. this is temporary solution: https://github.com/jonataslaw/get_cli/issues/253

joukhar commented 1 month ago

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

json1994 commented 1 month ago

@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

bladeofgod commented 1 month ago

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

Cool ~

jypDev commented 1 month ago

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

i was cured my cancer