forever for nodeJs not working in ubuntu server

孤人 提交于 2019-12-03 12:47:41

问题


I Installed forever module using npm globally in my ubuntu server as super user. But i can not start my nodeJs Appliation using this. I typed "forever" in my terminal, but seems like no commands were executed. am sure that i not faced any errors while "forever" instalation. Please see the below output. I tried the same in my local machine. But it works fine. am using Express 4.

forever in ubuntu server:-

forever in my local machine ouptput as follows:-

Is there any server settings i need to do it to work?


回答1:


Myself got the answer. i did link between node and nodejs by:-

sudo ln -s /usr/bin/nodejs /usr/local/bin/node


来源:https://stackoverflow.com/questions/26863945/forever-for-nodejs-not-working-in-ubuntu-server

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!