Ask Questions and Find Answers
Important:
Ask is now read-only. You can review any existing questions and answers, but not add anything new.
But - don't panic! While ask is no more, we've replaced it with discuss - the new Liferay Discussion Forum! Read more here here or just visit the site here:
discuss.liferay.com
Error liferay-theme instantiatedGenerator.run is not a function
I iam trying to install liferay theme generator inorder to start developing themes. i installed all the dependencies
yo --version 5.0.0
gulp --version CLI version: 2.3.0
node --version v16.14.0
npm install -g generator-liferay-theme@10.2.1
liferay.workspace.product = dxp-7.4-u88
--------------------------------------------------
but when i execute yo liferay-theme
i get the below message and error
Welcome to the splendid Themes SDK generator!
ℹ️ This version of the Themes SDK (10.2.1) supports Liferay
DXP
and Portal CE from 7.2 to 7.4.
For older versions, please use v8 of the toolkit:
> npm install -g generator-liferay-theme@^8.0.0 ↩
> yo
liferay-theme:app ↩
ℹ️ For detailed information regarding which version numbers of:
· unstyled, styled, classic and admin themes
·
liferay-frontend-css-common and @clayui/css npm packages
·
Bootstrap framework
are used by each release of Liferay DXP and Portal CE see the table at:
https://github.com/liferay/clay/wiki/Liferay-Portal-@clayui-css-Versions
Error liferay-theme
instantiatedGenerator.run is not a function
please help me find a solution to resolve this issue
I also bumped into the same problem.
The solution is to downgrade the generator.
npm install -g yo@4.3.1 generator-generator
Powered by Liferay™