php icon indicating copy to clipboard operation
php copied to clipboard

Error when deploy it to Vercel "No such file or directory"

Open xaldiy opened this issue 1 year ago • 7 comments

Bug report

  • Version: 0.7.1
  • URL: No
  • Repository: Yes

Description

[15:05:35.411] Running build in Washington, D.C., USA (East) – iad1 [15:05:35.611] Cloning github.com/DiamondTrack/the-aldi (Branch: main, Commit: bda78d4) [15:05:35.639] Skipping build cache, deployment was triggered without cache. [15:05:43.575] Cloning completed: 7.964s [15:05:44.059] Running "vercel build" [15:05:44.509] Vercel CLI 34.2.8 [15:05:45.374] > Installing Builder: [email protected] [15:05:48.570] 🐘 Downloading user files [15:05:48.571] 🐘 Downloading PHP runtime files [15:05:48.573] 🐘 Installing Composer dependencies [START] [15:05:48.854] php: error while loading shared libraries: libssl.so.10: cannot open shared object file: No such file or directory [15:05:48.856] Error: Exited with 127 [15:05:48.857] at ChildProcess. (/vercel/path0/.vercel/builders/node_modules/vercel-php/dist/utils.js:182:24) [15:05:48.857] at ChildProcess.emit (node:events:518:28) [15:05:48.857] at ChildProcess.emit (node:domain:488:12) [15:05:48.857] at ChildProcess._handle.onexit (node:internal/child_process:294:12) [15:05:48.885] Error: Command "vercel build" exited with 1 [15:05:48.955] Command "vercel build" exited with 1 [15:05:48.990]

xaldiy avatar Jun 28 '24 08:06 xaldiy

Had the same problem as mine, but still no solution.

BintangDeveloper avatar Jul 04 '24 13:07 BintangDeveloper

try this.. in your project dashboard go to, setting > general > node.js version ( change to 18x ) and hit the "save" button and redeploy.

oregdesign avatar Jul 04 '24 16:07 oregdesign

I'm having this issue as well.

maverickdude avatar Jul 09 '24 17:07 maverickdude

try this.. in your project dashboard go to, setting > general > node.js version ( change to 18x ) and hit the "save" button and redeploy.

Downgrading from Node 20 to 18 seems to resolve my issue for now.

dextermb avatar Jul 15 '24 15:07 dextermb

try this.. in your project dashboard go to, setting > general > node.js version ( change to 18x ) and hit the "save" button and redeploy.

Downgrading from Node 20 to 18 seems to resolve my issue for now.

But how? I can't seem to locate the "node.js version" option in my settings.

FojoBass avatar Jul 23 '24 09:07 FojoBass

Hi, can you test latest version 0.7.3 (at this moment)?

f3l1x avatar Oct 19 '24 11:10 f3l1x

I ran into the same issue with v0.7.3

Screenshot 2024-10-19 at 17 11 16

After specifying the node version in package.json the errors disappeared.

  "engines": {
    "node": "18.x"
  },

tao avatar Oct 19 '24 15:10 tao