jonataslaw / get_cli

Official Getx CLI
Apache License 2.0
578 stars 164 forks source link

Got error when i get create project #251

Open iLoveNintendo opened 4 months ago

iLoveNintendo commented 4 months ago

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.

inyong1 commented 4 months ago

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.

This can be used as a temporary solution flutter pub global activate --source=git https://github.com/inyong1/get_cli.git

berkayhh commented 4 months ago

Same Problem, app % get create project

1) Flutter Project 2) Get Server Select which type of project you want to create ? [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/create/project/project.dart 27:25 CreateProjectCommand.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. 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/create/project/project.dart 27:25 CreateProjectCommand.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. dart:isolate-patch/isolate_patch.dart 184:12 _RawReceivePort._handleMessage

nisone commented 4 months ago

Same Problem, app % 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 /home/nisone/.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. 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 /home/nisone/.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. dart:isolate-patch/isolate_patch.dart 184:12 _RawReceivePort._handleMessage

faizahmaddae commented 4 months ago

the same problem for me

abdorizak commented 4 months ago

same issue.

ardipermana59 commented 3 months ago

same for me. get create project

is there a solution?

Naciri-Anas commented 3 months ago

same problem Select which type of project you want to create ? [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.

Naciri-Anas commented 3 months ago

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

ardipermana59 commented 3 months ago

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

this worked for me. Thank you very much

aktarulahsan commented 3 months ago

Try this flutter pub global activate --source=git https://github.com/inyong1/get_cli.git this worked for me. Thank you very much.

vikkaspattel commented 3 months ago

starts problem after flutter 3.19 gotta be fixed asap

knottx commented 2 months ago

starts problem after flutter 3.19 gotta be fixed asap

@vikkaspattel try this

dart pub global activate -s git https://github.com/knottx/get_cli.git --git-ref knottx
handikaa commented 2 months ago

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

its work for me, thank you