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

lb4 controller fails with type BASIC #10494

Open
aaqilniz opened this issue May 3, 2024 · 0 comments
Open

lb4 controller fails with type BASIC #10494

aaqilniz opened this issue May 3, 2024 · 0 comments
Labels

Comments

@aaqilniz
Copy link
Contributor

aaqilniz commented May 3, 2024

Describe the bug

Running lb4 controller --controllerType="BASIC" --name=first-controller-ever fails with the following error:

Generation is aborted: No models found

This means the command is trying to find models - which only happens when the controller type is REST.

Logs

No change to package.json was detected. No package manager install will be executed.
Generation is aborted: No models found in /home/.../sample-app/src/models. Please visit http://loopback.io/doc/en/lb4/Controller-generator.html for information on how models are discovered.

Additional information

No response

Reproduction

Any basic loopback application

@aaqilniz aaqilniz added the bug label May 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant