jonataslaw / get_cli

Official Getx CLI
Apache License 2.0
601 stars 178 forks source link

Error in get_cli ---> get create screen:login #236

Open ariefiantorizky opened 1 year ago

ariefiantorizky commented 1 year ago

FLUTTER DOCTOR Doctor summary (to see all details, run flutter doctor -v): [✓] Flutter (Channel stable, 3.10.5, on Ubuntu 22.10 5.19.0-46-generic, locale en_US.UTF-8) [✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0) [✓] Chrome - develop for the web [✓] Linux toolchain - develop for Linux desktop [✓] Android Studio (version 2022.1) [✓] VS Code [✓] Connected device (2 available) [✓] Network resources

• No issues found!

This Error

Unhandled exception: type 'bool' is not a subtype of type 'String?'

0 JsonParser.mapEntries. (package:pubspec/src/json_utils.dart:129:30)

1 MapBase.forEach (dart:collection/maps.dart:35:13)

2 JsonParser.mapEntries (package:pubspec/src/json_utils.dart:128:7)

3 new PubSpec.fromJson (package:pubspec/src/pubspec.dart:114:22)

4 new PubSpec.fromYamlString (package:pubspec/src/pubspec.dart:120:15)

5 PubspecUtils.pubSpec (package:get_cli/common/utils/pubspec/pubspec_utils.dart:21:15)

6 PubspecUtils.containsPackage (package:get_cli/common/utils/pubspec/pubspec_utils.dart:119:58)

7 PubspecUtils.isServerProject (package:get_cli/common/utils/pubspec/pubspec_utils.dart:128:12)

8 CreateScreenCommand._writeFiles (package:get_cli/commands/impl/create/screen/screen.dart:65:33)

9 CreateScreenCommand.execute (package:get_cli/commands/impl/create/screen/screen.dart:52:7)

10 main (file:///home/ariefiantorizkyy/.pub-cache/hosted/pub.dev/get_cli-1.8.4/bin/get.dart:18:23)

11 _delayEntrypointInvocation. (dart:isolate-patch/isolate_patch.dart:294:33)

12 _RawReceivePort._handleMessage (dart:isolate-patch/isolate_patch.dart:189:12)

Please Help Me :(