说一下环境:Debian 8.2 x64,node版本是5.1,node安装路径在/home/node_server/bins/node-v5.1-x64/,并且把/home/node_server/bins/node-v5.1-x64/bin/node和npm软链接到了/usr/local/bin/里。
使用npm install forever -g之后,输入forever提示bash command not found。
如何解决?
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号
听上去应该是你的Path变量没设置好。
其实我觉得楼主完全可以不用forever,而转用pm2来部署项目。