InspiredJW InspiredJW - 3 months ago 24
Node.js Question

"forever list" says "No forever process running" but it is running an app

I have started an app with

forever start app.js

After that I typed,

forever list

and it shows that

The "sys" module is now called "util". It should have a similar interface.
info: No forever processes running

But I checked my processes with

ps aux | grep node

and it shows that

root 1184 0.1 1.5 642916 9672 ? Ss 05:37 0:00 node
/usr/local/bin/forever start app.js
root 1185 0.1 2.1 641408 13200 ? Sl 05:37 0:00 node
ubuntu 1217 0.0 0.1 7928 1060 pts/0 S+ 05:41 0:00 grep --color=auto node

I cannot control over the process, since I cannot list the process in "forever list"

How can I let "Forever" knowing its running processes and let having control over its running processes.


i had the same problem today.

in my case: i'm using NVM and forgot that it doesn't set/modify the global node path, so i had to set it manually

export NODE_PATH="/root/.nvm/v0.6.0/bin/node"