Switch node version:
sudo npm install n -g
sudo n stable
sudo n 10.15.3
node -v
npm -v
Start the node project:
forever start ./bin/www
Note: Go
directly to the /bin directory and use the command: forever start .www will report an error
Switch node version:
sudo npm install n -g
sudo n stable
sudo n 10.15.3
node -v
npm -v
Start the node project:
forever start ./bin/www
Note: Go
directly to the /bin directory and use the command: forever start .www will report an error