Valine-Admin
Valine-Admin copied to clipboard
部署失败,提示一堆版本错误
[2022-12-13T09:58:20.106Z][system] 部署失败:build failed: npm WARN deprecated [email protected]: request has been deprecated, see https://github.com/request/request/issues/3142 npm WARN deprecated [email protected]: Please upgrade to v7.0.2+ of superagent. We have fixed numerous issues with streams, form-data, attach(), filesystem errors not bubbling up (ENOENT on attach()), and all tests are now passing. See the releases tab for more information at https://github.com/visionmedia/superagent/releases. npm WARN deprecated [email protected]: Please upgrade to latest, formidable@v2 or formidable@v3! Check these notes: https://bit.ly/2ZEqIau npm WARN deprecated [email protected]: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details. npm WARN deprecated [email protected]: Please upgrade to v7.0.2+ of superagent. We have fixed numerous issues with streams, form-data, attach(), filesystem errors not bubbling up (ENOENT on attach()), and all tests are now passing. See the releases tab for more information at https://github.com/visionmedia/superagent/releases. npm WARN deprecated [email protected]: this library is no longer supported [email protected] /home/leanengine/app
参考 https://github.com/zhaojun1998/Valine-Admin/commit/aa10da0c6ddf781b132d1693b36d14039f1bc068 将 package.json
中的 "node": "6.x"
改为 "node": "12.x"
即可。
也可直接 Fork 我的仓库:https://github.com/Druadach/Valine-Admin.git