Unable to use get init on latest flutter version
gktirkha opened this issue · 7 comments
gktirkha commented
i am using get init , and getting following output
➜ get init
1) GetX Pattern (by Kauê)
2) CLEAN (by Arktekko)
Which architecture do you want to use? [1] Unhandled exception:
Synchronous waiting using dart:cli waitFor and C API Dart_WaitForEvent is deprecated and disabled by default. This feature will be fully removed in Dart 3.4 release. You can currently still enable it by passing --enable_deprecated_wait_for to the Dart VM. See https://dartbug.com/52121.
dart:cli-patch/cli_patch.dart 9:47 _waitForEvent
dart:cli/wait_for.dart 64:12 _WaitForUtils.waitForEvent
dart:cli/wait_for.dart 152:19 waitFor
package:dcli/src/util/wait_for_ex.dart 38:17 waitForEx
package:dcli/src/functions/echo.dart 34:5 _Echo.echo
package:dcli/src/functions/echo.dart 24:13 echo
package:dcli/src/functions/ask.dart 157:7 Ask._ask
package:dcli/src/functions/ask.dart 113:11 ask
package:dcli/src/functions/menu.dart 135:22 menu
package:get_cli/common/menu/menu.dart 20:20 Menu.choose
package:get_cli/commands/impl/init/flutter/init.dart 21:25 InitCommand.execute
../../.pub-cache/hosted/pub.dev/get_cli-1.8.4/bin/get.dart 18:23 main
dart:isolate-patch/isolate_patch.dart 295:33 _delayEntrypointInvocation.<fn>
dart:isolate-patch/isolate_patch.dart 184:12 _RawReceivePort._handleMessage
package:dcli/src/util/wait_for_ex.dart 35:28 waitForEx
package:dcli/src/functions/echo.dart 34:5 _Echo.echo
package:dcli/src/functions/echo.dart 24:13 echo
package:dcli/src/functions/ask.dart 157:7 Ask._ask
package:dcli/src/functions/ask.dart 113:11 ask
package:dcli/src/functions/menu.dart 135:22 menu
package:get_cli/common/menu/menu.dart 20:20 Menu.choose
package:get_cli/commands/impl/init/flutter/init.dart 21:25 InitCommand.execute
../../.pub-cache/hosted/pub.dev/get_cli-1.8.4/bin/get.dart 18:23 main
dart:isolate-patch/isolate_patch.dart 295:33 _delayEntrypointInvocation.<fn>
dart:isolate-patch/isolate_patch.dart 184:12 _RawReceivePort._handleMessage
Unable to select the architecture and get_cli is crashing
get_cli version
➜ get -v
░██████╗░███████╗████████╗ ░█████╗░██╗░░░░░░██╗
██╔════╝░██╔════╝╚══██╔══╝ ██╔══██╗██║░░░░░░██║
██║░░██╗░█████╗░░░░░██║░░░ ██║░░╚═╝██║░░░░░░██║
██║░░╚██╗██╔══╝░░░░░██║░░░ ██║░░██╗██║░░░░░░██║
╚██████╔╝███████╗░░░██║░░░ ╚█████╔╝███████╗ ██║
░╚═════╝░╚══════╝░░░╚═╝░░░ ░╚════╝░╚══════╝ ╚═╝
Version: 1.8.4
Time: 722 Milliseconds
flutter doctor
➜ flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.19.0, on KDE neon 5.27 6.5.0-18-generic, locale en_US.UTF-8)
[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2023.1)
[✓] VS Code (version 1.86.2)
[✓] Connected device (1 available)
[✓] Network resources
Ashik55 commented
facing same issue in 3.19.0
gktirkha commented
lulusahululu commented
same issue
brahimoulhaj commented
same issue
aittataa commented
same here¿¿¿
knottx commented
dart pub global deactivate get_cli
dart pub global activate -s git https://github.com/knottx/get_cli.git --git-ref knottx