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

pnpm #423

Open
stubar opened this issue Mar 23, 2023 · 2 comments
Open

pnpm #423

stubar opened this issue Mar 23, 2023 · 2 comments

Comments

@stubar
Copy link

stubar commented Mar 23, 2023

If using pnpm as a package manager I believe the hygen command can't find local templates

command pnpm hygen Component new Navigator
or npx hygen Component new Navigator
error message...

Loaded templates: node_modules/.pnpm/[email protected]/node_modules/hygen/src/templates
Error: I can't find action 'new' for generator 'Component'.

      You can try:
      1. 'hygen init self' to initialize your project, and
      2. 'hygen generator new --name Component' to build the generator you wanted.

      Check out the quickstart for more: http://www.hygen.io/docs/quick-start
      
Hygen v6.2.10

Available actions:
init: init repo, init self

same command when dependencies are installed using yarn in same project works

@lawplatform
Copy link

same here :(

@u007
Copy link

u007 commented Jan 4, 2024

i use npx hygen

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

3 participants