Administrador do Powerstats
Node:
macOS
- run
brew install node
debian/ubuntu
- run
sudo apt-get install nodejs
- run
npm install
- run
npm start - visit localhost:8080
ENOENT:
- run
npm installto update modules
EADDRINUSE:
- another node instance may be using port 8080, run
killall node - if the error persist, run
lsof -n -iTCP:8080 | grep LISTEN(orsudo netstat -peanut | grep 8080in linux) to find out who is using de port
- run
npm run bake
- run
npm run prod - visit localhost:8080