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

instantiatedGenerator.run is not a function #258

Open
houseBetter opened this issue Nov 26, 2023 · 15 comments
Open

instantiatedGenerator.run is not a function #258

houseBetter opened this issue Nov 26, 2023 · 15 comments

Comments

@houseBetter
Copy link

cann't create an app。

image

node and package version

node v18.17.0
npm 9.6.7
yo 5.0.0
generator-generator 5.1.0

System

OS: macOS 12.6
CPU: (8) arm64 Apple M1

@jedaan
Copy link

jedaan commented Dec 1, 2023

getting the same error , any update ?

@ekeel
Copy link

ekeel commented Dec 1, 2023

I'm getting the same error as well.

Error generator 

instantiatedGenerator.run is not a function
Name Version
Node v20.10.0
NPM 10.2.3
yo 5.0.0
generator-generator 5.0.0/5.1.0

System

OS: Windows 11 22H2
CPU: Intel Core i9
RAM: 32GB

@jonathanwork
Copy link

been getting the same error...

@weshouman
Copy link

Workaround
I had to downgrade yo to get it working, for example

npm install -g [email protected] generator-generator

@ruieloi
Copy link

ruieloi commented Mar 18, 2024

Hey!
Any news about this issue?
Is there another way for this to work except to downgrade? Did the method changed?

Thank you

@takashi013
Copy link

any help ?

@Aiwwa
Copy link

Aiwwa commented Mar 29, 2024

Hello,

I'm also getting same error.
Is this the dead end, or there some hopes ?

Thanks.

@Vladyslav317
Copy link

Hi, any solutions except for downgrading?

@AmroKhatib77
Copy link

hello, any solutions?

@Aiwwa
Copy link

Aiwwa commented May 6, 2024 via email

@JosXa
Copy link

JosXa commented May 7, 2024

Workaround I had to downgrade yo to get it working, for example

npm install -g [email protected] generator-generator

December 20. Project ded?

@NgocLe1001
Copy link

npm install -g [email protected]

Thanks It helps for mac M1 sonoma 14.4.1 (23E224)

@NgocLe1001
Copy link

NgocLe1001 commented May 8, 2024

npm install -g [email protected]

npm install -g [email protected]
I resolved by installing this version. maybe you should try.

@hcl-z
Copy link

hcl-z commented May 16, 2024

Check the yeoman-generator version that you use in your generator. This error is present in version 3. If you use JS to write your generator, try 5.10.0 instead, as higher versions only support esmodule

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