Closed ened closed 5 years ago
Following the README instructions, the pub global command fails currently:
$ pub global activate --source git https://github.com/clawstudios/wholesome-cli.git Package wholesome_cli is currently active from Git repository "https://github.com/clawstudios/wholesome-cli.git". Resolving dependencies... + path 1.6.4 + recase 2.0.1 + wholesome_cli 0.0.0 from git https://github.com/clawstudios/wholesome-cli.git at f550a8 Precompiling executables... Failed to precompile wholesome_cli:main: Error: Could not resolve the package 'args' in 'package:args/command_runner.dart'. .pub-cache/git/wholesome-cli-f550a8250c6717716645089e796a765ba63d2b12/bin/main.dart:2:8: Error: Not found: 'package:args/command_runner.dart' import 'package:args/command_runner.dart'; ^ .pub-cache/git/wholesome-cli-f550a8250c6717716645089e796a765ba63d2b12/lib/commands/generate/generate.dart:2:8: Error: Not found: 'package:args/command_runner.dart' import 'package:args/command_runner.dart'; ^ .pub-cache/git/wholesome-cli-f550a8250c6717716645089e796a765ba63d2b12/lib/commands/new/new.dart:4:8: Error: Not found: 'package:args/command_runner.dart' import 'package:args/command_runner.dart'; ^ .pub-cache/git/wholesome-cli-f550a8250c6717716645089e796a765ba63d2b12/lib/commands/generate/subcommands/component.dart:3:8: Error: Not found: 'package:args/command_runner.dart' import 'package:args/command_runner.dart'; ^ .pub-cache/git/wholesome-cli-f550a8250c6717716645089e796a765ba63d2b12/lib/commands/generate/subcommands/guard.dart:3:8: Error: Not found: 'package:args/command_runner.dart' import 'package:args/command_runner.dart'; ^ .pub-cache/git/wholesome-cli-f550a8250c6717716645089e796a765ba63d2b12/lib/commands/generate/subcommands/model.dart:2:8: Error: Not found: 'package:args/command_runner.dart' import 'package:args/command_runner.dart'; ^ .pub-cache/git/wholesome-cli-f550a8250c6717716645089e796a765ba63d2b12/lib/commands/generate/subcommands/page.dart:3:8: Error: Not found: 'package:args/command_runner.dart' import 'package:args/command_runner.dart'; ^ .pub-cache/git/wholesome-cli-f550a8250c6717716645089e796a765ba63d2b12/lib/commands/generate/subcommands/service.dart:3:8: Error: Not found: 'package:args/command_runner.dart' import 'package:args/command_runner.dart'; ^ .pub-cache/git/wholesome-cli-f550a8250c6717716645089e796a765ba63d2b12/lib/commands/generate/generate.dart:9:25: Error: Type 'Command' not found. class Generator extends Command { ^^^^^^^
Maybe just missing the "args" dependency in pubspec.yaml ?
Thanks for letting me know about the missing dependency.
Correction submitted with commit: 68fe3eb.
Following the README instructions, the pub global command fails currently:
Maybe just missing the "args" dependency in pubspec.yaml ?