Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getx Create Project Error #201

Open
TBoyLi opened this issue Sep 21, 2022 · 1 comment
Open

Getx Create Project Error #201

TBoyLi opened this issue Sep 21, 2022 · 1 comment

Comments

@TBoyLi
Copy link

TBoyLi commented Sep 21, 2022

➜  ~ flutter   --version
Flutter 3.3.2 • channel stable • https://github.com/flutter/flutter.git
Framework • revision e3c29ec00c (8 days ago) • 2022-09-14 08:46:55 -0500
Engine • revision a4ff2c53d8
Tools • Dart 2.18.1 • DevTools 2.15.0

➜  GetXHi flutter pub global activate get_cli
Package get_cli is currently active at version 1.8.1.
Resolving dependencies...
The package get_cli is already activated at newest available version.
To recompile executables, first run `flutter pub global deactivate get_cli`.
Installed executables get and getx.
Activated get_cli 1.8.1.
➜  GetXHi 


➜  FlutterProjects mkdir GetXHi                 
➜  FlutterProjects cd GetXHi                    
➜  GetXHi ls
➜  GetXHi get create project           
Can't load Kernel binary: Invalid kernel binary format version.
Building package executable... (1.8s)
Failed to build get_cli:get:
../../.pub-cache/hosted/pub.flutter-io.cn/process_run-0.12.1+1/lib/src/dev_process_run.dart:13:35: Error: Undefined name 'SYSTEM_ENCODING'.
        Encoding stdoutEncoding = SYSTEM_ENCODING,
                                  ^^^^^^^^^^^^^^^
../../.pub-cache/hosted/pub.flutter-io.cn/process_run-0.12.1+1/lib/src/dev_process_run.dart:14:35: Error: Undefined name 'SYSTEM_ENCODING'.
        Encoding stderrEncoding = SYSTEM_ENCODING,
                                  ^^^^^^^^^^^^^^^
➜  GetXHi 
@ashtav
Copy link

ashtav commented Oct 17, 2022

Try to delete get.bat and getx.bat in C:\flutter\.pub-cache\bin then in terminal flutter pub global activate get_cli

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants