jondot / hygen

The simple, fast, and scalable code generator that lives in your project.
http://www.hygen.io
MIT License
5.68k stars 256 forks source link

fail to load custom template path #432

Open lawplatform opened 1 year ago

lawplatform commented 1 year ago

I try to load hygen from custom template path HYGEN_TMPLS= ~/.hygen/_templates hygen comp init

but it try to refer pnpm/global path

/home/tree/.local/share/pnpm/global/5/.pnpm/hygen@6.2.11/node_modules/hygen/src/templates

should I use npm only to use custom template path ?