-
-
Notifications
You must be signed in to change notification settings - Fork 732
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
--help throws TypeError: Cannot read property 'replace' of undefined #1757
Comments
https://github.com/springcomp/yeoman-custom-generator no longer exists. @springcomp is this still something you want to investigate? We have a maintenance reboot (#1779) and we can walk you through it. 🙂 |
@JoshuaKGoldberg thanks for the feedback. I’ll be retrying to create a repro and come back to this issue. |
@JoshuaKGoldberg we can close that issue now. Sorry for the confusion. As part of your reboot, are you planning to support ESM instead of CommonJS ? |
Glad it worked out!
Good question. It really depends on how much work it is. But if not, I'd say that's a feature request issue to be filed on https://github.com/yeoman/yo. yeoman/yo#787 is related but looks to me more about source code running as ESM. |
I’m learning to author Yeoman Generators and would like to use TypeScript.
I stumble across the following issue which has been closed. #1717
Here is a repro case:
https://github.com/springcomp/yeoman-custom-generator
The generator and its subcommand work (just prompting and logging for now).
However displaying help fails:
With the following message:
I cannot figure out how to troubleshoot this.
The text was updated successfully, but these errors were encountered: