javascript 我在vercel上上载Web应用程序时遇到问题

siotufzp  于 2022-12-25  发布在  Java
关注(0)|答案(1)|浏览(298)

当在构建过程中这些错误抛出

Cloning github.com/AshuwinB/Portfolio (Branch: main, Commit: 8c65d43)
Previous build cache not available
Cloning completed: 7.280s
Running "vercel build"
Vercel CLI 28.10.0
Installing dependencies...
npm WARN deprecated w3c-hr-time@1.0.2: Use your platform's native performance.now() and performance.timeOrigin.
npm WARN deprecated stable@0.1.8: Modern JS already guarantees Array#sort() is a stable sort, so this library is deprecated. See the compatibility table on MDN: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/sort#browser_compatibility
npm WARN deprecated rollup-plugin-terser@7.0.2: This package has been deprecated and is no longer maintained. Please use @rollup/plugin-terser
npm WARN deprecated sourcemap-codec@1.4.8: Please use @jridgewell/sourcemap-codec instead
npm WARN deprecated svgo@1.3.2: This SVGO version is no longer supported. Upgrade to v2.x.x.
npm ERR! code 1
npm ERR! path /vercel/path0/node_modules/core-js
npm ERR! command failed
npm ERR! command sh -c -- node -e "try{require('./postinstall')}catch(e){}"
npm ERR! node: /lib64/libm.so.6: version `GLIBC_2.27' not found (required by node)
npm ERR! node: /lib64/libc.so.6: version `GLIBC_2.28' not found (required by node)
npm ERR! A complete log of this run can be found in:
npm ERR!     /vercel/.npm/_logs/2022-12-24T20_27_39_115Z-debug-0.log
Error: Command "npm install" exited with 1

我正在尝试通过github上传Web应用程序
我希望部署顺利,没有错误

mec1mxoz

mec1mxoz1#

您似乎正在尝试生成一个具有需要安装的依赖项的项目。
尝试命令:
npm安装

相关问题