Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Flutter get_cli package installation failure

I'm using get_cli to manage my flutter app file stacture, but when i'm installing the package i'm getting an error, i have clean the pub cache but i can't solve it need help. I'm using flutter version "Flutter 3.22.0" and I'm using pop os the error is

Failed to build get_cli:get:
    ../../.pub-cache/hosted/pub.dev/dcli-2.3.0/lib/src/util/wait_for_ex.dart:38:17: Error: Method not found: 'waitFor'.
        value = cli.waitFor<T>(wrapped);
            ^^^^^^^
like image 348
Syed Mahamudul Hasan Avatar asked Dec 11 '25 00:12

Syed Mahamudul Hasan


1 Answers

Try this flutter pub global activate --source=git "https://github.com/inyong1/get_cli.git"

like image 97
Musfiq Shanta Avatar answered Dec 13 '25 13:12

Musfiq Shanta



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!