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
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);
^^^^^^^
Reacted by Cuong Nguyen, Andika Tri Prasetya, Hojjat and Ahmed Mohamed Abdulkadir
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
@CuongNV12@tct68 @LittleJamie@StoneCX
Try downloading it directly from github: flutter pub global activate -s git https://github.com/jonataslaw/get_cli
Reacted by Json, Thuong Truong, bladeofgod, soooooot, Ahmed Mohamed Abdulkadir, JinYeong, Mohammad Shasho, Faiz Ahmad Dae, Hojjat, ekkifirdiansyah and 18 more
Reacted by SHAHINUR ISLAM, Gauri170907, Yakshit Poojary, zhao, Long Nguyen and FURKAN VIJAPURA
Reacted by Thuong Truong, Md. Shafiqur Rahman, Hamza Khurshid, Gauri170907, Yakshit Poojary and Long Nguyen
@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
@CuongNV12@tct68@LittleJamie@StoneCX Try downloading it directly from github: flutter pub global activate -s git https://github.com/jonataslaw/get_cli
Activity
tct68 commentedon May 18, 2024
Same as you
rachmanfachri commentedon May 19, 2024
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 issueStoneCX commentedon May 19, 2024
same the issues, is there any solution?
CuongNV12 commentedon May 20, 2024
i am also facing the same problem.
this is temporary solution:
#253
joukhar commentedon May 25, 2024
@CuongNV12 @tct68
@LittleJamie @StoneCX
Try downloading it directly from github:
flutter pub global activate -s git https://github.com/jonataslaw/get_clijson1994 commentedon May 28, 2024
nice, this is a good way
bladeofgod commentedon May 30, 2024
Cool ~
jypDev commentedon Jun 10, 2024
i was cured my cancer
handikaa commentedon Aug 17, 2024
it works. thank you