I have spent multiple hours to try and get my server up and running. As a part of a class assignment we are migrating to ExpressJS. So the instruction go as follows:
Forever processes server.js , but I do not get my website loaded,no matter the browser I access through(the terminal is also open). I tried writing forever list and all processes are stopped. I think the issue might be around here.
I have tried using:
forever start ./bin/www
-did not worksudo forever start server.js
-did not worksudo nohup forever start server.js
-did not worknohup forever start server.js
-did not workI really need to figure how to get this server up and running. If you need something from me let me know what and how to get it, please. I am a windows user and more than half of these commands I found researching other questions. If you need logs, or images also, please let me know where to find them to provide them to you since I have little technical knowledge for some of these things. - Thanks!
You can try nodemon for dev. or pm2 for production if you're trying to keep your server running.