akashrchandran / spotify-lyrics-api

A Rest API for fetching lyrics from Spotify which is powered by Musixmatch. Commandline version is available at akashrchandran/syrics.
http://github.akashrchandran.in/spotify-lyrics-api/
GNU General Public License v3.0
369 stars 29 forks source link

Error while deploying to Vercel #44

Closed bardt closed 2 months ago

bardt commented 2 months ago

I experience this while creating an app from this template:

[15:49:21.377] Running build in Washington, D.C., USA (East) – iad1
[15:49:21.521] Cloning github.com/bardt/spotify-lyrics-api (Branch: main, Commit: 2757e18)
[15:49:21.853] Cloning completed: 330.959ms
[15:49:21.887] Previous build cache not available
[15:49:22.137] Running "vercel build"
[15:49:23.449] Vercel CLI 34.3.0
[15:49:23.613] > Installing Builder: vercel-php@0.6.1
[15:49:26.436] 🐘 Downloading user files
[15:49:26.437] 🐘 Downloading PHP runtime files
[15:49:26.440] 🐘 Installing Composer dependencies [START]
[15:49:26.443] php: error while loading shared libraries: libssl.so.10: cannot open shared object file: No such file or directory
[15:49:26.445] Error: Exited with 127
[15:49:26.446]     at ChildProcess.<anonymous> (/vercel/path0/.vercel/builders/node_modules/vercel-php/dist/utils.js:182:24)
[15:49:26.446]     at ChildProcess.emit (node:events:518:28)
[15:49:26.446]     at ChildProcess.emit (node:domain:488:12)
[15:49:26.447]     at ChildProcess._handle.onexit (node:internal/child_process:294:12)
[15:49:26.470] Error: Command "vercel build" exited with 1
[15:49:26.546] Command "vercel build" exited with 1
[15:49:26.605] 
akashrchandran commented 2 months ago

IMG_20240704_195238.jpg

Try changing the project, node js version to 18 and redeploy.

bardt commented 2 months ago

This worked, thank you!