求帮助,非常感谢!
错误日志如下:
[2020-07-05T12:49:20.329Z][system] 实例日志:[ERROR] npm ERR! code ELIFECYCLE
[ERROR] npm ERR! jspyschtutorial@1.0.0 start: node app.js
[ERROR] npm ERR! Exit status 1
[ERROR] npm ERR!
[ERROR] npm ERR! Failed at the jspyschtutorial@1.0.0 start script 'node app.js'.
[ERROR] npm ERR! This is most likely a problem with the jspyschtutorial package,
[ERROR] npm ERR! not with npm itself.
[ERROR] npm ERR! Tell the author that this fails on your system:
[ERROR] npm ERR! node app.js
[ERROR] npm ERR! You can get information on how to open an issue for this project with:
[ERROR] npm ERR! npm bugs jspyschtutorial
[ERROR] npm ERR! Or if that isn't available, you can get their info via:
[ERROR] npm ERR!
[ERROR] npm ERR! npm owner ls jspyschtutorial
[ERROR] npm ERR! There is likely additional logging output above.
[ERROR] npm ERR! Please include the following file with any support request:
[ERROR] npm ERR! /home/leanengine/app/npm-debug.log
[INFO] > jspyschtutorial@1.0.0 start /home/leanengine/app
[INFO] > node app.js
[ERROR] /home/leanengine/app/scripts/mymods.js:8
[ERROR] });
[ERROR] ^
[ERROR] SyntaxError: Unexpected token }
[ERROR] at exports.runInThisContext (vm.js:73:16)
[ERROR] at Module._compile (module.js:443:25)
[ERROR] at Object.Module._extensions..js (module.js:478:10)
[ERROR] at Module.load (module.js:355:32)
[ERROR] at Function.Module._load (module.js:310:12)
[ERROR] at Module.require (module.js:365:17)
[ERROR] at require (module.js:384:17)
[ERROR] at Object. (/home/leanengine/app/app.js:3:14)
[ERROR] at Module._compile (module.js:460:26)
[ERROR] at Object.Module._extensions..js (module.js:478:10)
[ERROR] npm ERR! Linux 4.15.0-99-generic
[ERROR] npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "start"
[ERROR] npm ERR! node v0.12.18
[ERROR] npm ERR! npm v2.15.11
[ERROR] npm ERR! code ELIFECYCLE
[ERROR] npm ERR! jspyschtutorial@1.0.0 start: node app.js
[ERROR] npm ERR! Exit status 1
[ERROR] npm ERR!
[ERROR] npm ERR! Failed at the jspyschtutorial@1.0.0 start script 'node app.js'.
[ERROR] npm ERR! This is most likely a problem with the jspyschtutorial package,
[ERROR] npm ERR! not with npm itself.
[ERROR] npm ERR! Tell the author that this fails on your system:
[ERROR] npm ERR! node app.js
[ERROR] npm ERR! You can get information on how to open an issue for this project with:
[ERROR] npm ERR! npm bugs jspyschtutorial
[ERROR] npm ERR! Or if that isn't available, you can get their info via:
[ERROR] npm ERR!
[ERROR] npm ERR! npm owner ls jspyschtutorial
[ERROR] npm ERR! There is likely additional logging output above.
[ERROR] npm ERR! Please include the following file with any support request:
[ERROR] npm ERR! /home/leanengine/app/npm-debug.log
[INFO] > jspyschtutorial@1.0.0 start /home/leanengine/app
[INFO] > node app.js
[ERROR] /home/leanengine/app/scripts/mymods.js:8
[ERROR] });
[ERROR] ^
[ERROR] SyntaxError: Unexpected token }
[ERROR] at exports.runInThisContext (vm.js:73:16)
[ERROR] at Module._compile (module.js:443:25)
[ERROR] at Object.Module._extensions..js (module.js:478:10)
[ERROR] at Module.load (module.js:355:32)
[ERROR] at Function.Module._load (module.js:310:12)
[ERROR] at Module.require (module.js:365:17)
[ERROR] at require (module.js:384:17)
[ERROR] at Object. (/home/leanengine/app/app.js:3:14)
[ERROR] at Module._compile (module.js:460:26)
[ERROR] at Object.Module._extensions..js (module.js:478:10)
[ERROR] npm ERR! Linux 4.15.0-99-generic
[ERROR] npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "start"
[ERROR] npm ERR! node v0.12.18
[ERROR] npm ERR! npm v2.15.11
[ERROR] npm ERR! code ELIFECYCLE
[ERROR] npm ERR! jspyschtutorial@1.0.0 start: node app.js
[ERROR] npm ERR! Exit status 1
[ERROR] npm ERR!
[ERROR] npm ERR! Failed at the jspyschtutorial@1.0.0 start script 'node app.js'.
[ERROR] npm ERR! This is most likely a problem with the jspyschtutorial package,
[ERROR] npm ERR! not with npm itself.
[ERROR] npm ERR! Tell the author that this fails on your system:
[ERROR] npm ERR! node app.js
[ERROR] npm ERR! You can get information on how to open an issue for this project with:
[ERROR] npm ERR! npm bugs jspyschtutorial
[ERROR] npm ERR! Or if that isn't available, you can get their info via:
[ERROR] npm ERR!
[ERROR] npm ERR! npm owner ls jspyschtutorial
[ERROR] npm ERR! There is likely additional logging output above.
[ERROR] npm ERR! Please include the following file with any support request:
[ERROR] npm ERR! /home/leanengine/app/npm-debug.log
[2020-07-05T12:49:20.331Z][system] 应用启动失败: 无法访问应用的 Web 端口(Error: connect ECONNREFUSED 10.101.13.2:35741),请确保程序在 30 秒内正确地启动了 HTTP 服务
[2020-07-05T12:49:23.144Z][system] 应用启动失败: 无法访问应用的 Web 端口(Error: connect ECONNREFUSED 10.101.13.2:35741),请确保程序在 30 秒内正确地启动了 HTTP 服务
[2020-07-05T12:49:23.148Z][system] 部署发生错误:发生了 1 个错误