我刚刚安装了 pm2,我已经使用节点集群模块在我的 app.js 中完成了集群。
当我使用 pm2 start app.js -i 4 启动我的 app.js 时,它只显示一个在线实例。它应该显示 4 个实例 请告诉我问题是什么
附截图
node.js express pm2
express ×1
node.js ×1
pm2 ×1