As indicated by the error message in your logs, you've exceeded the maximum unzipped size limit for a Serverless Function (250 MB).
To resolve this, I recommend referring to the guide Troubleshooting Build Error: “Serverless Function has exceeded the unzipped maximum size of 250 MB”, which provides detailed steps to identify and address the issue.