I am trying to use the node.js 'forever' package to run the node.js service on Ubuntu. It seems like it should be simple. However, when I run it, I get the following output:
/usr/bin/env: node: No such file or directory
I think this may be because the Ubuntu package manager calls node.js binary nodejs, not nodewhat is more standard. Is there any way to tell forever the package where you can find the node?
(I tried to do a symbolic binding /usr/bin/nodebefore /usr/bin/nodejs, but that caused even more errors, and in any case, it looks like a hack)
source
share