Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[support] Unable to load my generator #452

@italomaia

Description

@italomaia

I recently created a generator: https://github.com/italomaia/hygen-axum-podman-template

Now I'm trying to test it with hygen-add, but I'm getting the following error:

> hygen-add axum-podman


Can't add hygen-axum-podman

 [Error: ENOENT: no such file or directory, scandir 'node_modules/hygen-axum-podman/_templates'] {
  errno: -2,
  code: 'ENOENT',
  syscall: 'scandir',
  path: 'node_modules/hygen-axum-podman/_templates'
}

If I create node_modules/hygen-axum-podman/_templates with mkdir, hygen-add manages to download the template, but then npx hygen is unable to use it. Any ideas?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions