Skip to content

Template not found #771

@Willianwg

Description

@Willianwg

Describe the bug
After installing my CLI in a project, i try to run the command generate, but i get the error "template not found (path of the template file)
I'm using the default Gluegun folder structure and didn't remove any core file. Only created a simple command an three templates.

To Reproduce
Steps to reproduce the behavior:

  1. Create a CLI that creates files with command generate
  2. Publish the code in npm
  3. Install your CLI in any other project
  4. Run the CLI with the generate command
  5. See error

Expected behavior
Expect CLI to generate a folder and 3 simple files

Captura de Tela (1)

  • OS: Linux (Gitpod)
  • Gluegun Version [e.g. 5.1.2]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions