jonataslaw / get_cli

Official Getx CLI
Apache License 2.0
612 stars 179 forks source link

Failed to build get_cli:get: #222

Open bdtask9900 opened 1 year ago

bdtask9900 commented 1 year ago

Flutter 3.10.0 and Dart 3.0.0 not work

.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; ^

dash-vishalparmar commented 1 year ago

Facing Same Issue Any Update How to resolve it?

alok2811 commented 1 year ago

@jonataslaw please check i am facing same issue after flutter update 3.10.0

abhilashsajeev commented 1 year ago

I am also facing same issue

abhilashsajeev commented 1 year ago

@CpdnCristiano @jonataslaw @ahmednfwela the package has become unusable with latest flutter and dart release. Any updates on this?

ahmednfwela commented 1 year ago

for me the package has been unusable for more than 2+ years, for more than just this bug.

currently I am using go_router for navigation, shared_value for state management and injectable for dependency injection.

The faster you move away from getx the better :)

ahmednfwela commented 1 year ago

and if you want CLI to help you, use https://docs.brickhub.dev/ + mason

padukadafa commented 1 year ago

I have solved this issue. try activate this package