-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
@astrojs/vercel: 2.3.5 breaks API endpoints #5568
Comments
Ohhhh, I think I know what's happening. |
Can we do a fallback for those on Node 14? |
Should this issue be prioritized over #5489? |
Yes, regressions are prioritized. |
They might be the same issue! Let's leave them open for now and after we have this fixed if you wouldn't mind checking to see if it fixes yours as well. |
Oh, the error message is ever slightly so different, my bad! |
Sorry for the late response, I wasn't available. I've identified the issue and I'm solving it. Meanwhile, @Ehesp, upgrading to Node v18 solves it. |
Thanks - I'm unable to upgrade at the moment, but I have locked to |
@Ehesp I've made a PR. Could you try with |
I can confirm that this also fixes the issue with |
What version of
astro
are you using?1.6.14
Are you using an SSR adapter? If so, which one?
Vercel
What package manager are you using?
npm
What operating system are you using?
Mac
Describe the Bug
The
@astrojs/vercel
adapter is breaking API endpoints on vercel when using2.3.5
. On2.3.4
they work as expected.I've got a deployment running in the reproduction link below on Vercel, as you can see if you look at network, any requests to
/api
are failing with the same error:Looks like this commit from @JuanM04 is the issue.
For clarity, the endpoint failing does a basic response:
Link to Minimal Reproducible Example
https://zapp-r4q76tpec-invertase.vercel.app/
Participation
The text was updated successfully, but these errors were encountered: