你好,我的一个云引擎项目( order-51wish )在前几天升级到专业版后,部署就一直失败(之前其他项目升级后也遇到过这个问题),麻烦帮我解决下,急用,谢谢!
以下是报错内容:
实例日志:[ERROR] npm ERR! code ELIFECYCLE [ERROR] npm ERR! order-51wish@1.0.0 start: node --harmony server.js
[ERROR] npm ERR! Exit status 1 [ERROR] npm ERR! [ERROR] npm ERR! Failed at the order-51wish@1.0.0 start script 'node --harmony server.js'. [ERROR] npm ERR! This is most likely a problem with the order-51wish package, [ERROR] npm ERR! not with npm itself. [ERROR] npm ERR! Tell the author that this fails on your system: [ERROR] npm ERR! node --harmony server.js [ERROR] npm ERR! You can get information on how to open an issue for this project with: [ERROR] npm ERR! npm bugs order-51wish [ERROR] npm ERR! Or if that isn't available, you can get their info via: [ERROR] npm ERR! [ERROR] npm ERR! npm owner ls order-51wish [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] > order-51wish@1.0.0 start /home/leanengine/app [INFO] > node --harmony server.js [ERROR] /home/leanengine/app/routes/purchase/index.js:44 [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/routes/main.js:34:17) [ERROR] at Module.compile (module.js:460:26) [ERROR] at Object.Module.extensions..js (module.js:478:10) [ERROR] npm ERR! Linux 3.13.0-63-generic [ERROR] npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "start" [ERROR] npm ERR! node v0.12.13 [ERROR] npm ERR! npm v2.15.0 [ERROR] npm ERR! code ELIFECYCLE [ERROR] npm ERR! order-51wish@1.0.0 start: node --harmony server.js
[ERROR] npm ERR! Exit status 1 [ERROR] npm ERR! [ERROR] npm ERR! Failed at the order-51wish@1.0.0 start script 'node --harmony server.js'. [ERROR] npm ERR! This is most likely a problem with the order-51wish package, [ERROR] npm ERR! not with npm itself. [ERROR] npm ERR! Tell the author that this fails on your system: [ERROR] npm ERR! node --harmony server.js [ERROR] npm ERR! You can get information on how to open an issue for this project with: [ERROR] npm ERR! npm bugs order-51wish [ERROR] npm ERR! Or if that isn't available, you can get their info via: [ERROR] npm ERR! [ERROR] npm ERR! npm owner ls order-51wish [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] > order-51wish@1.0.0 start /home/leanengine/app [INFO] > node --harmony server.js [ERROR] /home/leanengine/app/routes/purchase/index.js:44 [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/routes/main.js:34:17) [ERROR] at Module.compile (module.js:460:26) [ERROR] at Object.Module.extensions..js (module.js:478:10) [ERROR] npm ERR! Linux 3.13.0-63-generic [ERROR] npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "start" [ERROR] npm ERR! node v0.12.13 [ERROR] npm ERR! npm v2.15.0 [ERROR] npm ERR! code ELIFECYCLE [ERROR] npm ERR! order-51wish@1.0.0 start: node --harmony server.js
[ERROR] npm ERR! Exit status 1 [ERROR] npm ERR! [ERROR] npm ERR! Failed at the order-51wish@1.0.0 start script 'node --harmony server.js'. [ERROR] npm ERR! This is most likely a problem with the order-51wish package, [ERROR] npm ERR! not with npm itself. [ERROR] npm ERR! Tell the author that this fails on your system: [ERROR] npm ERR! node --harmony server.js [ERROR] npm ERR! You can get information on how to open an issue for this project with: [ERROR] npm ERR! npm bugs order-51wish [ERROR] npm ERR! Or if that isn't available, you can get their info via: [ERROR] npm ERR! [ERROR] npm ERR! npm owner ls order-51wish [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
ERROR 12:08:29 新建实例已被移除
ERROR 12:08:29 应用启动失败: 无法访问应用的 Web 端口(connect ECONNREFUSED),请确保程序正确启动了 HTTP 服务
INFO 12:08:29 部署完成:发生了 1 个错误