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 install
to 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 8080
in linux) to find out who is using de port
- run
npm run bake
- run
npm run prod
- visit localhost:8080