Skip to content

[Bug]: Unable to scaffold CRUD or a single model #15

@hirenchauhan2

Description

@hirenchauhan2

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions