Skip to content

mistyped command throws confusing error #34

@stuartromanek

Description

@stuartromanek

I accidentally tried to run new-project PROJECT instead of create-project PROJECT and got this misleading error

❯ apostrophe new-project hi

Apostrophe  new-project  Running the task [1/1]
Apostrophe  Unable to locate an app.js in this directory. You need to be in the root directory of an Apostrophe project to run this command.  Failed 

Not sure this is the default error or what but it should at least error out telling you to look at -help for options

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions