RE: RE: Error in liferay-js: "instantiatedGenerator.run is not a function"

Olaf Kock, modified 1 Year ago. New Member Posts: 2 Join Date: 11/21/23 Recent Posts

Hello community,

I'm encountering an issue in liferay-js, and I'm hoping someone can help me troubleshoot. When I try to create a basic template using the command

yo liferay-js

, I'm getting the following error:

Error liferay-js: instantiatedGenerator.run is not a function

 

i am using the latest node and the latest tomcat zip from liferay 

 

 

thumbnail
Olaf Kock, modified 1 Year ago. Liferay Legend Posts: 6441 Join Date: 9/23/08 Recent Posts

For proper reproduction - and to be useful in a week, month or next year, it would help if you give more details about your setup. Please include actual​​​​​​​ versions (rather than "latest")

Olaf Kock, modified 1 Year ago. New Member Posts: 2 Join Date: 11/21/23 Recent Posts

we are using Node 16.13.2 and the latest  LIferay PORTAL 7.4 GA103  and jdk 8 

Jamie Sammons, modified 1 Year ago. New Member Post: 1 Join Date: 12/7/23 Recent Posts

I'm having the same issue when running yo liferay-js with Node version 20.5.0 and Liferay Portal 7.4 GA103.

"Error liferay-js 

instantiatedGenerator.run is not a function"

thumbnail
Jamie Sammons, modified 1 Year ago. New Member Posts: 7 Join Date: 10/5/22 Recent Posts

Now I have the same the error "instantiatedGenerator.run is not a function" Occurs when Installing the JS Generator and Generating a Bundle

 

-liferay-ce-portal-7.4.3.14-ga14

- nodejs v20.11.0

- npm 10.4.0