-
-
Notifications
You must be signed in to change notification settings - Fork 405
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
generator.run is not a function #806
Comments
+1 |
I worked through detailed debugging to understand how to write a generator that works with the latest yeoman yo and generator. At this point none of the Yeoman documentation describes how to build a working generator with the latest version. Here's a fully functioning example that uses the latest version of yeoman and the yeoman generator: https://github.com/yenoh2/generator-hac-tf-module update your package.json adding "type": "module" |
Duplicate of #796. This is a result of using outdated dependencies, in particular If anybody is still getting this on the latest dependencies, please do post an issue with a full reproduction that shows the issue (https://antfu.me/posts/why-reproductions-are-required). It's possible there are bugs and/or outdated pieces of documentation that should be fixed. Cheers! 🎩 |
same issue. and I can't use other way because SharePoint is required to use this |
Type of issue
Bug report
My environment
macOS 14.4.1
20.10.0
(runnode --version
in your terminal)10.2.3
(runnpm --version
in your terminal)5.0.0
(runyo --version
in your terminal)Expected behavior
Should proceed with generating a project by adding src folder
Current behavior
generator.run is not a function
Steps to reproduce the behavior
yo
the name of the generator
Command line output
The text was updated successfully, but these errors were encountered: