Generated liferay portlet is a yeoman generator. This generator make a portlet with a specific configuration.
npm install -g yonpm install -g generator-liferay-portlet-template
First create a folder and go to this. In this folder execute:
The project name is the name of the parent folder.
GNU © Juan L. Sánchez