When in the build process these errors throw up
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 [email protected]: Use your platform's native performance.now() and performance.timeOrigin.
npm WARN deprecated [email protected]: 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 [email protected]: This package has been deprecated and is no longer maintained. Please use @rollup/plugin-terser
npm WARN deprecated [email protected]: Please use @jridgewell/sourcemap-codec instead
npm WARN deprecated [email protected]: 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
I am trying to upload the web app via github
I was expecting a smooth deploy with no errors
CodePudding user response:
It looks like you are trying to build a project that has dependencies that need to be installed.
try command:
npm install
CodePudding user response:
One of your errors states:
GLIBC_2.28' not found (required by node)
One potential solution to this issue could be to upgrade the version of the GLIBC library