Running into the above error. Steps to reproduce:
- Clone example https://github.com/juicyfx/vercel-examples/tree/master/php
- Update runtime to [email protected] in vercel.json
- Attempt to deploy
This is my first time using Vercel, sorry if I am missing something basic.
Here is the full output from Vercel
[13:58:13.793] Cloning github.com/***************************** (Branch: *************, Commit: *******)
[13:58:16.783] Cloning completed: 2.990s
[13:58:16.938] Restored build cache
[13:58:16.993] Running "vercel build"
[13:58:17.592] Vercel CLI 28.12.7
[13:58:17.782] > Installing Builder: [email protected]
[13:58:21.951] π Downloading user files
[13:58:21.952] π Downloading PHP runtime files
[13:58:21.971] π Creating lambda
[13:58:22.367] Build Completed in /vercel/output [420ms]
[13:58:28.894] Failed to process build result for "api/index". Data: {"type":"Lambda"}.
[13:58:28.897] Error: The Serverless Function "api/index" is 68.16mb which exceeds the maximum size limit of 50mb. Learn More: https://vercel.link/serverless-function-size