-
Install nvm https://github.com/nvm-sh/nvm#installing-and-updating
-
Use nvm to install node lts version
nvm install --lts`
- Verify if it worked by checking the node version
node --version
npm --version
- On the project folder install de dependencies
npm install
npm run dev
This command will use live-server to start a local server and reload it every time a file changes
npm start
This command uses serve package to start a server without the live reloading feature