Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

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

Copy link
Copy link
@hirenchauhan2

Description

@hirenchauhan2
Issue body actions

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
Reactions are currently unavailable

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.