Valine-Admin
Valine-Admin copied to clipboard
修复无法部署的错误
LeanCloud 已经不支持 node.js 6.* 的部署。
更新了 package.json 中的 node.js 版本号。
请问大佬更新到库里了吗?我还是现在部署不上╥﹏╥...,2020.7.17
求救!出现这种错误,怎么解决啊?
[2021-11-16T16:46:00.437Z][system] 实例日志:[ERROR] npm ERR! Exit status 1
[ERROR] npm ERR!
[ERROR] npm ERR! Failed at the [email protected] start script 'node server.js'.
[ERROR] npm ERR! Make sure you have the latest version of node.js and npm installed.
[ERROR] npm ERR! If you do, this is most likely a problem with the node-js-getting-started package,
[ERROR] npm ERR! not with npm itself.
[ERROR] npm ERR! Tell the author that this fails on your system:
[ERROR] npm ERR! node server.js
[ERROR] npm ERR! You can get information on how to open an issue for this project with:
[ERROR] npm ERR! npm bugs node-js-getting-started
[ERROR] npm ERR! Or if that isn't available, you can get their info via:
[ERROR] npm ERR! npm owner ls node-js-getting-started
[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] > [email protected] start /home/leanengine/app
[INFO] > node server.js
[ERROR] fs.js:642
[ERROR] return binding.open(pathModule._makeLong(path), stringToFlags(flags), mode);
[ERROR] ^
[ERROR] Error: ENOENT: no such file or directory, open '/home/leanengine/app/template/西西的网站/notice.ejs'
[ERROR] at Error (native)
[ERROR] at Object.fs.openSync (fs.js:642:18)
[ERROR] at Object.fs.readFileSync (fs.js:510:33)
[ERROR] at Object.node server.js
[ERROR] npm ERR! Exit status 1
[ERROR] npm ERR!
[ERROR] npm ERR! Failed at the [email protected] start script 'node server.js'.
[ERROR] npm ERR! Make sure you have the latest version of node.js and npm installed.
[ERROR] npm ERR! If you do, this is most likely a problem with the node-js-getting-started package,
[ERROR] npm ERR! not with npm itself.
[ERROR] npm ERR! Tell the author that this fails on your system:
[ERROR] npm ERR! node server.js
[ERROR] npm ERR! You can get information on how to open an issue for this project with:
[ERROR] npm ERR! npm bugs node-js-getting-started
[ERROR] npm ERR! Or if that isn't available, you can get their info via:
[ERROR] npm ERR! npm owner ls node-js-getting-started
[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] > [email protected] start /home/leanengine/app
[INFO] > node server.js
[ERROR] fs.js:642
[ERROR] return binding.open(pathModule._makeLong(path), stringToFlags(flags), mode);
[ERROR] ^
[ERROR] Error: ENOENT: no such file or directory, open '/home/leanengine/app/template/西西的网站/notice.ejs'
[ERROR] at Error (native)
[ERROR] at Object.fs.openSync (fs.js:642:18)
[ERROR] at Object.fs.readFileSync (fs.js:510:33)
[ERROR] at Object.node server.js
[ERROR] npm ERR! Exit status 1
[ERROR] npm ERR!
[ERROR] npm ERR! Failed at the [email protected] start script 'node server.js'.
[ERROR] npm ERR! Make sure you have the latest version of node.js and npm installed.
[ERROR] npm ERR! If you do, this is most likely a problem with the node-js-getting-started package,
[ERROR] npm ERR! not with npm itself.
[ERROR] npm ERR! Tell the author that this fails on your system:
[ERROR] npm ERR! node server.js
[ERROR] npm ERR! You can get information on how to open an issue for this project with:
[ERROR] npm ERR! npm bugs node-js-getting-started
[ERROR] npm ERR! Or if that isn't available, you can get their info via:
[ERROR] npm ERR! npm owner ls node-js-getting-started
[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
[2021-11-16T16:46:00.438Z][system] 实例启动失败: 无法访问应用的 Web 端口(Error: connect ECONNREFUSED),请确保程序在 30 秒内正确地启动了 HTTP 服务
[2021-11-16T16:46:01.484Z][system] 实例启动失败: 无法访问应用的 Web 端口(Error: connect ECONNREFUSED),请确保程序在 30 秒内正确地启动了 HTTP 服务
[2021-11-16T16:46:01.485Z][system] 部署发生错误:发生了 1 个错误
部署不了了诶。。。
感谢大佬,部署成功了
您好,我已收到您的邮件。
您好,我已收到您的邮件。