The error you received in your output:
error: script /path/to/app/nodemon does not exist.
It appears that forever is looking for nodemon in the current working directory, and can't find it because it doesn't exist there. Try providing the absolute path when starting nodemon, which can be found with which nodemon
.
forever start /usr/local/bin/nodemon server.js
Note that the start
flag is what puts the application in daemon mode.