且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

使用生态系统配置文件在PM2上运行Express App时出现问题

更新时间:2022-12-06 15:07:55

也许您忘记了生态系统文件名中的 .config.js .

Maybe you forgot .config.js in your ecosystem filename.

我浪费了数小时来寻找与您完全相同的问题以及pm2的忽略行

I lost hours of my day looking for the exact same problem yours and a ignored line of pm2 docs alerts me what I forgot (a weird requirement).

请注意,使用Javascript配置文件要求文件名以.config.js结尾

Note that using a Javascript configuration file requires to end the file name with .config.js