Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[support] Unable to load my generator #452

Open
italomaia opened this issue Sep 27, 2024 · 1 comment
Open

[support] Unable to load my generator #452

italomaia opened this issue Sep 27, 2024 · 1 comment

Comments

@italomaia
Copy link

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?

@italomaia italomaia changed the title Unable to load my generator [support] Unable to load my generator Sep 27, 2024
@italomaia
Copy link
Author

Ok, my issue is a duplicate: jondot/hygen-add#10 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant