Open khafidz225 opened 1 year ago
yea same here, my workaround is just create new flutter project and run > get init
https://github.com/dart-lang/sdk/issues/50319
dart migrate
is no longer available in the newer dart versions, so that line of code using it should just be removed by this project's maintainer.
same issue
I am also facing the same issue. Please do needful for this issue.
Hello @khafidz225, @tengfei86 I have resolved this error by using the below commands.
First, deactivate the current get_cli
by using the below command.
dart pub global deactivate get_cli
Then, you need to activate this repo's get_cli
version using the below command.
dart pub global activate -s git https://github.com/jonataslaw/get_cli.git
as I have seen that the latest code of this branch doesn't have the executable shell command dart migrate --apply-changes --skip-import-check
You can check the shel.utils.dart file.
Hello @khafidz225, @tengfei86 I have resolved this error by using the below commands.
First, deactivate the current
get_cli
by using the below command.dart pub global deactivate get_cli
Then, you need to activate this repo's
get_cli
version using the below command.dart pub global activate -s git https://github.com/jonataslaw/get_cli.git
as I have seen that the latest code of this branch doesn't have the executable shell command
dart migrate --apply-changes --skip-import-check
You can check the shel.utils.dart file.
this solution works for me
I created a new project using Get CLI and I got an error like this