jonataslaw / get_cli

Official Getx CLI
Apache License 2.0
590 stars 171 forks source link

can't run get_cli #212

Closed sandamil closed 1 year ago

sandamil commented 1 year ago

Failed to build get_cli:get: ../../../.pub-cache/hosted/pub.dev/posix-4.1.0/lib/src/pwd.dart:322:35: Error: Field 'name' cannot be nullable or have type 'Null', it must be int, double, Pointer, or a subtype of Struct or Union. external ffi.Pointer? name; ^ ../../../.pub-cache/hosted/pub.dev/posix-4.1.0/lib/src/pwd.dart:326:35: Error: Field 'password' cannot be nullable or have type 'Null', it must be int, double, Pointer, or a subtype of Struct or Union. external ffi.Pointer? password; ^ ../../../.pub-cache/hosted/pub.dev/posix-4.1.0/lib/src/pwd.dart:330:17: Error: Field 'uid' cannot be nullable or have type 'Null', it must be int, double, Pointer, or a subtype of Struct or Union. external int? uid; ^ ../../../.pub-cache/hosted/pub.dev/posix-4.1.0/lib/src/pwd.dart:334:17: Error: Field 'gid' cannot be nullable or have type 'Null', it must be int, double, Pointer, or a subtype of Struct or Union. external int? gid; ^ ../../../.pub-cache/hosted/pub.dev/posix-4.1.0/lib/src/pwd.dart:337:35: Error: Field 'gecos' cannot be nullable or have type 'Null', it must be int, double, Pointer, or a subtype of Struct or Union. external ffi.Pointer? gecos; ^ ../../../.pub-cache/hosted/pub.dev/posix-4.1.0/lib/src/pwd.dart:340:35: Error: Field 'dir' cannot be nullable or have type 'Null', it must be int, double, Pointer, or a subtype of Struct or Union. external ffi.Pointer? dir; ^ ../../../.pub-cache/hosted/pub.dev/posix-4.1.0/lib/src/pwd.dart:343:35: Error: Field 'shell' cannot be nullable or have type 'Null', it must be int, double, Pointer, or a subtype of Struct or Union. external ffi.Pointer? shell; ^ ../../../.pub-cache/hosted/pub.dev/posix-4.1.0/lib/src/grp.dart:369:35: Error: Field 'name' cannot be nullable or have type 'Null', it must be int, double, Pointer, or a subtype of Struct or Union. external ffi.Pointer? name; ^ ../../../.pub-cache/hosted/pub.dev/posix-4.1.0/lib/src/grp.dart:372:35: Error: Field 'passwd' cannot be nullable or have type 'Null', it must be int, double, Pointer, or a subtype of Struct or Union. external ffi.Pointer? passwd; ^ ../../../.pub-cache/hosted/pub.dev/posix-4.1.0/lib/src/grp.dart:376:17: Error: Field 'gid' cannot be nullable or have type 'Null', it must be int, double, Pointer, or a subtype of Struct or Union. external int? gid; ^ ../../../.pub-cache/hosted/pub.dev/posix-4.1.0/lib/src/grp.dart:379:48: Error: Field 'mem' cannot be nullable or have type 'Null', it must be int, double, Pointer, or a subtype of Struct or Union. external ffi.Pointer<ffi.Pointer>? mem; ^ ../../../.pub-cache/hosted/pub.dev/posix-4.1.0/lib/src/string/string.dart:830:38: Error: Field '_unique_locales_item_0' cannot be nullable or have type 'Null', it must be int, double, Pointer, or a subtype of Struct or Union. external ffi.Pointer? uniquelocales_item_0; ^ ../../../.pub-cache/hosted/pub.dev/posix-4.1.0/lib/src/string/string.dart:832:38: Error: Field '_unique_locales_item_1' cannot be nullable or have type 'Null', it must be int, double, Pointer, or a subtype of Struct or Union. external ffi.Pointer? uniquelocales_item_1; ^ ../../../.pub-cache/hosted/pub.dev/posix-4.1.0/lib/src/string/string.dart:834:38: Error: Field '_unique_locales_item_2' cannot be nullable or have type 'Null', it must be int, double, Pointer, or a subtype of Struct or Union. external ffi.Pointer? uniquelocales_item_2; ^ ../../../.pub-cache/hosted/pub.dev/posix-4.1.0/lib/src/string/string.dart:836:38: Error: Field '_unique_locales_item_3' cannot be nullable or have type 'Null', it must be int, double, Pointer, or a subtype of Struct or Union. external ffi.Pointer? uniquelocales_item_3; ^ ../../../.pub-cache/hosted/pub.dev/posix-4.1.0/lib/src/string/string.dart:838:38: Error: Field '_unique_locales_item_4' cannot be nullable or have type 'Null', it must be int, double, Pointer, or a subtype of Struct or Union. external ffi.Pointer? uniquelocales_item_4; ^ ../../../.pub-cache/hosted/pub.dev/posix-4.1.0/lib/src/string/string.dart:840:38: Error: Field '_unique_locales_item_5' cannot be nullable or have type 'Null', it must be int, double, Pointer, or a subtype of Struct or Union. external ffi.Pointer? uniquelocales_item_5; ^ ../../../.pub-cache/hosted/pub.dev/posix-4.1.0/lib/src/string/string.dart:842:38: Error: Field '_unique_locales_item_6' cannot be nullable or have type 'Null', it must be int, double, Pointer, or a subtype of Struct or Union. external ffi.Pointer? uniquelocales_item_6; ^ ../../../.pub-cache/hosted/pub.dev/posix-4.1.0/lib/src/string/string.dart:844:38: Error: Field '_unique_locales_item_7' cannot be nullable or have type 'Null', it must be int, double, Pointer, or a subtype of Struct or Union. external ffi.Pointer? uniquelocales_item_7; ^ ../../../.pub-cache/hosted/pub.dev/posix-4.1.0/lib/src/string/string.dart:846:38: Error: Field '_unique_locales_item_8' cannot be nullable or have type 'Null', it must be int, double, Pointer, or a subtype of Struct or Union. external ffi.Pointer? uniquelocales_item_8; ^ ../../../.pub-cache/hosted/pub.dev/posix-4.1.0/lib/src/string/string.dart:848:38: Error: Field '_unique_locales_item_9' cannot be nullable or have type 'Null', it must be int, double, Pointer, or a subtype of Struct or Union. external ffi.Pointer? uniquelocales_item_9; ^ ../../../.pub-cache/hosted/pub.dev/posix-4.1.0/lib/src/string/string.dart:850:38: Error: Field '_unique_locales_item_10' cannot be nullable or have type 'Null', it must be int, double, Pointer, or a subtype of Struct or Union. external ffi.Pointer? uniquelocales_item_10; ^ ../../../.pub-cache/hosted/pub.dev/posix-4.1.0/lib/src/string/string.dart:852:38: Error: Field '_unique_locales_item_11' cannot be nullable or have type 'Null', it must be int, double, Pointer, or a subtype of Struct or Union. external ffi.Pointer? uniquelocales_item_11; ^ ../../../.pub-cache/hosted/pub.dev/posix-4.1.0/lib/src/string/string.dart:854:38: Error: Field '_unique_locales_item_12' cannot be nullable or have type 'Null', it must be int, double, Pointer, or a subtype of Struct or Union. external ffi.Pointer? uniquelocales_item_12; ^ ../../../.pub-cache/hosted/pub.dev/posix-4.1.0/lib/src/string/string.dart:861:35: Error: Field '_unique_names_item_0' cannot be nullable or have type 'Null', it must be int, double, Pointer, or a subtype of Struct or Union. external ffi.Pointer? uniquenames_item_0; ^ ../../../.pub-cache/hosted/pub.dev/posix-4.1.0/lib/src/string/string.dart:863:35: Error: Field '_unique_names_item_1' cannot be nullable or have type 'Null', it must be int, double, Pointer, or a subtype of Struct or Union. external ffi.Pointer? uniquenames_item_1; ^ ../../../.pub-cache/hosted/pub.dev/posix-4.1.0/lib/src/string/string.dart:865:35: Error: Field '_unique_names_item_2' cannot be nullable or have type 'Null', it must be int, double, Pointer, or a subtype of Struct or Union. external ffi.Pointer? uniquenames_item_2; ^ ../../../.pub-cache/hosted/pub.dev/posix-4.1.0/lib/src/string/string.dart:867:35: Error: Field '_unique_names_item_3' cannot be nullable or have type 'Null', it must be int, double, Pointer, or a subtype of Struct or Union. external ffi.Pointer? uniquenames_item_3; ^ ../../../.pub-cache/hosted/pub.dev/posix-4.1.0/lib/src/string/string.dart:869:35: Error: Field '_unique_names_item_4' cannot be nullable or have type 'Null', it must be int, double, Pointer, or a subtype of Struct or Union. external ffi.Pointer? uniquenames_item_4; ^ ../../../.pub-cache/hosted/pub.dev/posix-4.1.0/lib/src/string/string.dart:871:35: Error: Field '_unique_names_item_5' cannot be nullable or have type 'Null', it must be int, double, Pointer, or a subtype of Struct or Union. external ffi.Pointer? uniquenames_item_5; ^ ../../../.pub-cache/hosted/pub.dev/posix-4.1.0/lib/src/string/string.dart:873:35: Error: Field '_unique_names_item_6' cannot be nullable or have type 'Null', it must be int, double, Pointer, or a subtype of Struct or Union. external ffi.Pointer? uniquenames_item_6; ^ ../../../.pub-cache/hosted/pub.dev/posix-4.1.0/lib/src/string/string.dart:875:35: Error: Field '_unique_names_item_7' cannot be nullable or have type 'Null', it must be int, double, Pointer, or a subtype of Struct or Union. external ffi.Pointer? uniquenames_item_7; ^ ../../../.pub-cache/hosted/pub.dev/posix-4.1.0/lib/src/string/string.dart:877:35: Error: Field '_unique_names_item_8' cannot be nullable or have type 'Null', it must be int, double, Pointer, or a subtype of Struct or Union. external ffi.Pointer? uniquenames_item_8; ^ ../../../.pub-cache/hosted/pub.dev/posix-4.1.0/lib/src/string/string.dart:879:35: Error: Field '_unique_names_item_9' cannot be nullable or have type 'Null', it must be int, double, Pointer, or a subtype of Struct or Union. external ffi.Pointer? uniquenames_item_9; ^ ../../../.pub-cache/hosted/pub.dev/posix-4.1.0/lib/src/string/string.dart:881:35: Error: Field '_unique_names_item_10' cannot be nullable or have type 'Null', it must be int, double, Pointer, or a subtype of Struct or Union. external ffi.Pointer? uniquenames_item_10; ^ ../../../.pub-cache/hosted/pub.dev/posix-4.1.0/lib/src/string/string.dart:883:35: Error: Field '_unique_names_item_11' cannot be nullable or have type 'Null', it must be int, double, Pointer, or a subtype of Struct or Union. external ffi.Pointer? uniquenames_item_11; ^ ../../../.pub-cache/hosted/pub.dev/posix-4.1.0/lib/src/string/string.dart:885:35: Error: Field '_unique_names_item_12' cannot be nullable or have type 'Null', it must be int, double, Pointer, or a subtype of Struct or Union. external ffi.Pointer? uniquenames_item_12;

CpdnCristiano commented 1 year ago

Hello, would you like to run flutter doctor -v And comment out the command output

sandamil commented 1 year ago

[✓] Flutter (Channel master, 3.8.0-18.0.pre.11, on macOS 13.1 22C65 darwin-x64, locale es-ES) • Flutter version 3.8.0-18.0.pre.11 on channel master at /Users/imac/flutter • Upstream repository https://github.com/flutter/flutter.git • Framework revision c8aa37d1ea (6 days ago), 2023-02-28 12:14:33 -0800 • Engine revision c6b5322404 • Dart version 3.0.0 (build 3.0.0-277.0.dev) • DevTools version 2.22.1

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3) • Android SDK at /Users/imac/Library/Android/sdk • Platform android-33, build-tools 30.0.3 • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java • Java version OpenJDK Runtime Environment (build 11.0.11+0-b60-7590822) • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 14.2) • Xcode at /Applications/Xcode.app/Contents/Developer • Build 14C18 • CocoaPods version 1.11.2

[✓] Chrome - develop for the web • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2021.1) • Android Studio at /Applications/Android Studio.app/Contents • Flutter plugin can be installed from: 🔨 https://plugins.jetbrains.com/plugin/9212-flutter • Dart plugin can be installed from: 🔨 https://plugins.jetbrains.com/plugin/6351-dart • Java version OpenJDK Runtime Environment (build 11.0.11+0-b60-7590822)

[✓] VS Code (version 1.64.2) • VS Code at /Applications/Visual Studio Code.app/Contents • Flutter extension version 3.34.0

[✓] Connected device (3 available) • COR L29 (mobile) • XTX7N18C14002498 • android-arm64 • Android 9 (API 28) • macOS (desktop) • macos • darwin-x64 • macOS 13.1 22C65 darwin-x64 • Chrome (web) • chrome • web-javascript • Google Chrome 110.0.5481.177

[✓] Network resources • All expected network resources are available.

• No issues found!

CpdnCristiano commented 1 year ago

I recommend using flutter stable version

sandamil commented 1 year ago

yes, resolved