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

node ace serve and invoke are not a registered command #11

Closed
nasrat-v opened this issue Feb 17, 2021 · 5 comments
Closed

node ace serve and invoke are not a registered command #11

nasrat-v opened this issue Feb 17, 2021 · 5 comments

Comments

@nasrat-v
Copy link

Package version

"@adonisjs/ace": "^5.0.8",
"adonis5-swagger": "^1.2.1"

Node.js and npm version

node: v14.7.0
npm: 6.14.7

Sample Code (to reproduce the issue)

node ace serve --watch
node ace invoke adonis5-swagger

The command serve and invoke are not recognized by ace.
Is this related to this package ?

@VladyslavParashchenko
Copy link
Collaborator

serve and invoke are provided by https://github.com/adonisjs/assembler. Did you install this package ?

@nasrat-v
Copy link
Author

I did but that doesn't fix it.
Do I need to register the assembler package as an aceProviders in my app.js ?

@VladyslavParashchenko
Copy link
Collaborator

I'm not sure how adonis register assembler commands, but i didn't register any adonis commands. You should generate new package using adonis-cli or you could look on example of adonis project https://github.com/marcelodosreis/Shingeki-No-Kyojin-API

@VladyslavParashchenko
Copy link
Collaborator

Did you solve your problem ? Can I close this issue ?

@nasrat-v
Copy link
Author

I didn't solve the issue. I think I need a fresh install of adonis.
I'll close the issue. Thanks for your time.

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

No branches or pull requests

2 participants