Open lewebsimple opened 5 months ago
@lewebsimple maaaan! Not sure how I missed the notification for this. So sorry for never getting back to you!
Looks like I messed up something there, but the issue seems to be in the findGenerators function returning undefined. Which should never happen.
I'll take a look at this soon.
And if you by any chance still remember any details on how to reproduce it, let me know!
But I'm guessing install, add config and no generators, right?
I just figured out what the issue is. It happens when the project was not initialized yet and you try to generate a generator.
Until a fix is up, the workaround is:
hypergen init self
at the rootinit
generator (sorry, another bug :/) rm -rf ./_templates/init
hypergen generator new MyGenerator
I just discovered your fork and needed the
.hygen.cjs
support but when executinghypergen ...
inside my project it fails with the error from the title.