简体   繁体   中英

Node.js with Forever on ubuntu

I'm trying to install Forever to use with Node.js. I'm installing it using 'npm install forever -g'. It seems to install fine, but when I run the command 'forever' it's not found.

Maybe I'm not installing it in the right location? Where should it be installed to?

Any help would be great! Thank you!

你必须使用sudo永远运行安装:

sudo npm install forever -g

这应该工作,但检查'npm bin -g'以确保该目录在您的路径上。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM