Issue
How can we install the Liferay Theme Generator for creating themes in Liferay DXP 7.0?
Environment
Liferay DXP 7.0
Resolution
1. Ensure that Node.js is installed on your system. The recommended version for Liferay Portal 7.0 is v10.24.1. If you don't have Node.js installed, you can download it from here.
2. Next, you'll need to install the Gulp and Yeoman libraries, which are key dependencies for the Liferay Theme Generator. For compatibility with Liferay Portal 7.0, install the following versions:
Gulp version 3.9.1
Yeoman version 3.1.1
3. Install the Liferay Theme Generator version 8.0.2 using the command:
npm install -g generator-liferay-theme@8.0.2
yo liferay-theme
gulp deploy