First, install NodeJS v16. Use NVM as the best solution to manage NodeJS versions.
Next, install NPM globally. If you're using NVM - you don't need to install NPM.
npm intall npm -g
Then, install dependencies with the command below:
npm ci
To start developing - run the command below:
npm start
It will be start Webpack Dev Server with HMR.
For build production distributive run the command below:
npm run build
It will build production-ready distributive.