Skip to content

error when create flutter_app #633

@hwangblood

Description

@hwangblood
$ very_good create flutter_app my_app --desc "My new Flutter app"  

✓ Generated 239 file(s) (3.3s)
✓ Running "flutter packages get" in ./my_app (0.4s)
Unhandled exception:
ProcessException: Standard error
Flutter assets will be downloaded from https://storage.flutter-io.cn. Make sure you trust this source!
Generating synthetic localizations package failed with 1 error:

Exception: Found syntax errors.
  Command: flutter packages get
#0      _Cmd._throwIfProcessFailed (package:very_good_cli/src/cli/cli.dart:125:7)
#1      _Cmd.run (package:very_good_cli/src/cli/cli.dart:96:7)
<asynchronous suspension>
#2      Flutter.packagesGet.<anonymous closure> (package:very_good_cli/src/cli/flutter_cli.dart:98:11)
<asynchronous suspension>
#3      _runCommand (package:very_good_cli/src/cli/flutter_cli.dart:284:13)
<asynchronous suspension>
#4      Flutter.packagesGet (package:very_good_cli/src/cli/flutter_cli.dart:84:5)
<asynchronous suspension>
#5      installFlutterPackages (package:very_good_cli/src/commands/create/templates/post_generate_actions.dart:28:5)
<asynchronous suspension>
#6      VeryGoodCoreTemplate.onGenerateComplete (package:very_good_cli/src/commands/create/templates/very_good_core/very_good_core_template.dart:20:5)
<asynchronous suspension>
#7      CreateSubCommand.runCreate (package:very_good_cli/src/commands/create/commands/create_subcommand.dart:226:5)
<asynchronous suspension>
#8      CreateSubCommand.run (package:very_good_cli/src/commands/create/commands/create_subcommand.dart:200:20)
<asynchronous suspension>
#9      CommandRunner.runCommand (package:args/command_runner.dart:212:13)
<asynchronous suspension>
#10     VeryGoodCommandRunner.runCommand (package:very_good_cli/src/command_runner.dart:211:18)
<asynchronous suspension>
#11     VeryGoodCommandRunner.run (package:very_good_cli/src/command_runner.dart:148:14)
<asynchronous suspension>
#12     main (file:///home/blood/.pub-cache/hosted/pub.flutter-io.cn/very_good_cli-0.10.0/bin/very_good.dart:5:24)
<asynchronous suspension>

Metadata

Metadata

Assignees

Labels

bugSomething isn't working as expectedinvalidThis doesn't seem right

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions