Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"stacked create service xxx" not working anymore after updating from 1.2.0 to 1.3.0 #866

Closed
felixkriechbaum opened this issue Feb 19, 2023 · 2 comments · Fixed by #868
Closed
Assignees
Labels
p1 Highest priority issue

Comments

@felixkriechbaum
Copy link

Hello together,

today i updated from Stacked-cli from 1.2.0 to 1.3.0 and now the create service comman is not working anymore

F:\Development\NextChatApp\chatclient> stacked create service user
Unhandled exception:
Invalid argument(s): Could not find an option named "template".
#0      ArgResults.[] (package:args/src/arg_results.dart:65:7)
#1      CreateServiceCommand.run (package:stacked_cli/src/commands/create/create_service_command.dart:46:37)
#2      CommandRunner.runCommand (package:args/command_runner.dart:212:27)
#3      CommandRunner.run.<anonymous closure> (package:args/command_runner.dart:122:25)
#4      new Future.sync (dart:async/future.dart:302:31)
#5      CommandRunner.run (package:args/command_runner.dart:122:14)
#6      main (file:///C:/Users/Felix/AppData/Local/Pub/Cache/hosted/pub.dev/stacked_cli-1.3.0/bin/stacked.dart:59:12)
<asynchronous suspension>
Unhandled exception:
Invalid argument(s): Could not find an option named "template".
#0      ArgResults.[] (package:args/src/arg_results.dart:65:7)
#1      CreateServiceCommand.run (package:stacked_cli/src/commands/create/create_service_command.dart:46:37)
#2      CommandRunner.runCommand (package:args/command_runner.dart:212:27)
#3      CommandRunner.run.<anonymous closure> (package:args/command_runner.dart:122:25)
#4      new Future.sync (dart:async/future.dart:302:31)
#5      CommandRunner.run (package:args/command_runner.dart:122:14)
#6      main (file:///C:/Users/Felix/AppData/Local/Pub/Cache/hosted/pub.dev/stacked_cli-1.3.0/bin/stacked.dart:59:12)
<asynchronous suspension>

I have already tried

  • deactivate and reactivate the cli
  • restart ide
  • complete fresh project

After downgrading to 1.2.0 it works again

For people have the same problem
dart pub global deactivate stacked_cli
dart pub global activate stacked_cli 1.2.0

@felixkriechbaum felixkriechbaum changed the title stacked create view not working anymore after updating to 1.3.0 from 1.2.0 "stacked create service xxx" not working anymore after updating from 1.2.0 to 1.3.0 Feb 19, 2023
@FilledStacks
Copy link
Contributor

Hey, I will start looking into this now.

@FilledStacks FilledStacks added the p1 Highest priority issue label Feb 21, 2023
@FilledStacks FilledStacks self-assigned this Feb 21, 2023
FilledStacks added a commit that referenced this issue Feb 21, 2023
FilledStacks added a commit that referenced this issue Feb 21, 2023
@FilledStacks
Copy link
Contributor

Fixed in 1.3.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
p1 Highest priority issue
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants