赞
踩
报错内容
get init
命令跳出,报错内如下
Select which type of project you want to creat
Synchronous waiting using dart:cli waitFor
Unhandled exceotion .
Dart WaitforEvent is deprecated and disabled by default. This feature will be fully
removed in Dart 3.4 release.
I can currently still enable it by passing --enable deprecated wait for to the Dart V. See https://dartbug.com/52121
dart:cli-patch/cli patch.dart 9:47
截图如下
解决办法:
终端输入:
dart pub global deactivate get_cli
dart pub global activate -s git https://github.com/knottx/get_cli.git --git-ref knottx
github:
Get_cli errors on the latest version of flutter #243:
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。