-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Support Node v20 in Vercel adapter #9408
Comments
Can you submit a PR for this? Thanks! |
Node |
@matthewp Probably should have done it upfront. @jacobdalamb was first :) @jacobdalamb yes, I have and got the error in the output as described above. |
I don't understand this part. Is |
Yes, I have @astrojs/[email protected] installed in my project. I think I ran |
@jacobdalamb your PR should fix the issue according to the runtime selection logic here. Once Node 20 is in the supported list, it should be used instead of defaulting to 18. |
Astro Info
If this issue only occurs in one browser, which browser is a problem?
No response
Describe the Bug
Astro fails to deploy on Vercel with Node 20 runtime configured:
In a local build, adapter warns about Node 20 not supported (due to this hardcoded list of supported version).
What's the expected result?
If there are no known issues, Node 20 should be added to the supported list.
Link to Minimal Reproducible Example
not reproducible on stackblitz, the issue is only on vercel
Participation
The text was updated successfully, but these errors were encountered: