jonataslaw / get_cli

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

get create project error please help #232

Open DreamHeader opened 11 months ago

DreamHeader commented 11 months ago

$ dart migrate --apply-changes --skip-import-check Could not find a command named "migrate".

Usage: dart <command|dart-file> [arguments]

Global options: -v, --verbose Show additional command output. --version Print the Dart SDK version. --enable-analytics Enable analytics. --disable-analytics Disable analytics. --suppress-analytics Disallow analytics for this dart * run without changing the analytics configuration. -h, --help Print this usage information.

Available commands: analyze Analyze Dart code in a directory. compile Compile Dart to various formats. create Create a new Dart project. devtools Open DevTools (optionally connecting to an existing application). doc Generate API documentation for Dart projects. fix Apply automated fixes to Dart source code. format Idiomatically format Dart source code. info Show diagnostic information about the installed tooling. pub Work with packages. run Run a Dart program. test Run tests for a project.

Run "dart help " for more information about a command. See https://dart.dev/tools/dart-tool for detailed documentation. ✖ + error_unexpected ShellException(dart migrate --apply-changes --skip-import-check, exitCode 64, workingDirectory: /Users/fudongkai/Desktop/GitHub/flutterDemo/flutterg_get_x_demo)

hakimzuldev commented 11 months ago

If I am not mistaken, dart migrate has been removed, there is no documentation on dart migrate in the latest dart docs https://dart.dev/tools/sdk

DreamHeader commented 11 months ago
So you mean ?issue can not deal? 浮东凯

@. | ---- Replied Message ---- | From | @.> | | Date | 08/04/2023 22:31 | | To | jonataslaw/get_cli @.> | | Cc | DreamHeader @.>, Author @.***> | | Subject | Re: [jonataslaw/get_cli] get create project error please help (Issue #232) |

If I am not mistaken, dart migrate has been removed, there is no documentation on dart migrate in the latest dart docs https://dart.dev/tools/sdk

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

hakimzuldev commented 11 months ago

The GetCLI team should look into it. Perhaps anyone wants to contribute can look into this matter?

knottx commented 11 months ago

@DreamHeader try this

  1. dart pub global deactivate get_cli 
  2. dart pub global activate -s git https://github.com/knottx/get_cli.git
BasharShehab commented 11 months ago

@knottx fork works well to create the project! I don't know if they changed anything else in the package, but I will use it for now! Thank you!

Septiodwi commented 9 months ago

thank you I feel helped