安装了NG+PHP5.6,后来有项目需要用VUE,所以安装了PM2管理器,但是添加项目后立刻自动停止,日志管理显示如下:2019-12-05T11:33:43: PM2 log: App [企业中心:0] exited with code [1] via signal [SIGINT]
2019-12-05T11:33:43: PM2 log: App [企业中心:0] starting in -fork mode-
2019-12-05T11:33:43: PM2 log: App [企业中心:0] online
2019-12-05T11:33:44: PM2 log: App [企业中心:0] exited with code [1] via signal [SIGINT]
2019-12-05T11:33:44: PM2 log: App [企业中心:0] starting in -fork mode-
2019-12-05T11:33:44: PM2 log: App [企业中心:0] online
2019-12-05T11:33:44: PM2 log: App [企业中心:0] exited with code [1] via signal [SIGINT]
2019-12-05T11:33:44: PM2 log: App [企业中心:0] starting in -fork mode-
2019-12-05T11:33:44: PM2 log: App [企业中心:0] online
2019-12-05T11:33:44: PM2 log: App [企业中心:0] exited with code [1] via signal [SIGINT]
2019-12-05T11:33:44: PM2 log: Script /www/wwwroot/enterprise-wap/index.html had too many unstable restarts (16). Stopped. "errored"
2019-12-05T11:34:19: PM2 log: Stopping app:企业中心 id:0
2019-12-05T11:34:19: PM2 error: app=企业中心 id=0 does not have a pid 查看项目日志目录/root/.pm2/logs/-------error.log,显示如下:SyntaxError: Unexpected token '<'
at Module._compile (internal/modules/cjs/loader.js:895:18)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:995:10)
at Module.load (internal/modules/cjs/loader.js:815:32)
at Function.Module._load (internal/modules/cjs/loader.js:727:14)
at Object.<anonymous> (/www/server/nvm/versions/node/v12.13.1/lib/node_modules/pm2/lib/ProcessContainerFork.js:27:21)
at Module._compile (internal/modules/cjs/loader.js:959:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:995:10)
at Module.load (internal/modules/cjs/loader.js:815:32)
at Function.Module._load (internal/modules/cjs/loader.js:727:14)
at Function.Module.runMain (internal/modules/cjs/loader.js:1047:10)
/www/wwwroot/huibojob.com/application/enterprise-wap/index.html:1
<!DOCTYPE html>
^
SyntaxError: Unexpected token '<'
at Module._compile (internal/modules/cjs/loader.js:895:18)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:995:10)
at Module.load (internal/modules/cjs/loader.js:815:32)
at Function.Module._load (internal/modules/cjs/loader.js:727:14)
at Object.<anonymous> (/www/server/nvm/versions/node/v12.13.1/lib/node_modules/pm2/lib/ProcessContainerFork.js:27:21)
at Module._compile (internal/modules/cjs/loader.js:959:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:995:10)
at Module.load (internal/modules/cjs/loader.js:815:32)
at Function.Module._load (internal/modules/cjs/loader.js:727:14)
at Function.Module.runMain (internal/modules/cjs/loader.js:1047:10) 请问各位老大,怎么破?谢谢~~!!!
|