我发现我可以使用nohup node index.js运行后台任务。我的问题与以下来源有关。。现在,我试图在后台运行服务器。但它正因以下错误而崩溃。_extensions..js (module.js:654:10)at tryModuleLoad (module.js:499:_load (module.js:491:3)
at Function
现在,我正在将我的nodejs应用程序运行为npm start。我想在后台运行它。我找到了用于此的forever包,但不知道如何运行我通常作为npm start运行的应用程序。那么,我如何使用forever运行它呢?我遵循,但是得到了这个错误:warn: --minUptime not set.Your script will exit i