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.
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
Additional information
No response
Reproduction
Any basic loopback application