Install Yeoman for the generator:
npm install -g yeoman
Install the Liferay JS Generator:
npm install -g generator-liferay-js
If you specified your app server information when your widget was generated, you can deploy your widget by running the command below. You can verify this by checking the value of the
liferayDirentry in the widget’s
npm run deploy
Great! Now you know how to install and run the Liferay JS Generator.