vercel-community / php

🐘 PHP Runtime for ▲ Vercel Serverless Functions (support 7.4-8.3)

Home Page:https://php.vercel.app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Something wrong with the build process

xuzhenjun130 opened this issue · comments

Bug report

Description

2023-04-01T16:55:04.853Z  [6.5MiB/0.13s] Installing dependencies from lock file
2023-04-01T16:55:04.853Z  [6.6MiB/0.13s] Verifying lock file contents can be installed on current platform.
2023-04-01T16:55:04.859Z  [6.8MiB/0.13s] Warning: The lock file is not up to date with the latest changes in composer.json. You may be getting outdated dependencies. It is recommended that you run `composer update` or `composer update <package name>`.
2023-04-01T16:55:04.860Z  [6.8MiB/0.13s] - Required package "mongodb/mongodb" is not present in the lock file.
2023-04-01T16:55:04.861Z  [6.8MiB/0.13s] - Required package "php-di/slim-bridge" is not present in the lock file.
2023-04-01T16:55:04.861Z  [6.8MiB/0.13s] This usually happens when composer files are incorrectly merged or the composer.json file is manually edited.
2023-04-01T16:55:04.861Z  [6.8MiB/0.13s] Read more about correctly resolving merge conflicts https://getcomposer.org/doc/articles/resolving-merge-conflicts.md
2023-04-01T16:55:04.861Z  [6.8MiB/0.13s] and prefer using the "require" command over editing the composer.json file directly https://getcomposer.org/doc/03-cli.md#require-r
2023-04-01T16:55:04.861Z  [6.8MiB/0.13s] Memory usage: 6.76MiB (peak: 7.24MiB), time: 0.13s
2023-04-01T16:55:04.872Z  Error: Exited with 4
2023-04-01T16:55:04.872Z      at ChildProcess.<anonymous> (/vercel/path0/.vercel/builders/node_modules/vercel-php/dist/utils.js:182:24)
2023-04-01T16:55:04.872Z      at ChildProcess.emit (node:events:513:28)
2023-04-01T16:55:04.872Z      at ChildProcess.emit (node:domain:489:12)
2023-04-01T16:55:04.873Z      at Process.ChildProcess._handle.onexit (node:internal/child_process:293:12)
2023-04-01T16:55:04.883Z  Error: Command "vercel build" exited with 1
2023-04-01T16:55:04.902Z  Command "vercel build" exited with 1

is ok now