Node.js And Forever "exited With Code: 0"
CentOs 6.5 using root acount, I have a working Node.js Express app: root@vps [/home/test/node]# npm start app.js > test@0.0.1 start /home/test/node > node ./bin/www app.js T
Solution 1:
Ok I found out what was happening. I was trying to run:
forever start app.js
When this Express app must be started with:
forever start ./bin/www
There was no useful info on internet when searching for this by the error log output ("exited with code: 0"), so I hope this answer helps begginers like me in what I think can be an easy mistake to make.
Post a Comment for "Node.js And Forever "exited With Code: 0""