hyperstack
hyperstack copied to clipboard
[Bug]: Unable to scaffold CRUD or a single model
What happened?
Hi, I was trying to start a new app to explore this framework. But I am facing issues in code generation.
Here's the command I ran to scaffold CRUD for an entity, let's say practice.
bin/hyperstack g scaffold practice name:string email:text
And
bin/hyperstack g model practice name:text email:text
And here's the error I'm getting for both of the above commands.
TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received undefined
I've already started the server in another terminal and it's running without any error. Is there anything I'm missing?
What type of Operating System?
Linux
Steps to produce this issue.
Create a new project and then do this
bin/hyperstack g scaffold practice name:string email:text
or
bin/hyperstack g model practice name:text email:text