Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Vercel Runtime to Fix Serverless Function Deployment Error #292

Merged
merged 1 commit into from
Aug 27, 2024

Conversation

amr-sheriff
Copy link
Contributor

Description

Fix an issue where deploying serverless functions on Vercel with the outdated runtime [email protected] results in an error. The error occurs due to the runtime being invalid for the functions specified.

The error encountered during deployment is:

Error: The following Serverless Functions contain an invalid "runtime":
- api/index (provided.al2). Learn More: https://vercel.com/guides/serverless-function-contains-invalid-runtime-error

Changes Made

Updated the runtime from [email protected] to [email protected] in the Vercel configuration file.

Impact

This change resolves the deployment error and ensures that the serverless functions are deployed correctly on Vercel without any runtime-related issues.

Testing

The change was tested by redeploying the functions after the runtime update, and the deployment was successful without errors.

Copy link

vercel bot commented Aug 27, 2024

@amr-sheriff is attempting to deploy a commit to the ryo-ma's Team Team on Vercel.

A member of the Team first needs to authorize it.

@amr-sheriff amr-sheriff marked this pull request as draft August 27, 2024 06:02
@amr-sheriff amr-sheriff marked this pull request as ready for review August 27, 2024 06:03
Copy link

vercel bot commented Aug 27, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
github-profile-trophy ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 27, 2024 7:42am

@ryo-ma ryo-ma merged commit 21b0057 into ryo-ma:master Aug 27, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants