-
-
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
assets: Vercel's serverless function crashes #6470
Comments
This is also an issue locally when using PnP, even with the experimental setting turned off. Running
|
Hmm, seems like one of our dependency is getting externalized by mistake, will take a look thank you! Sorry for the inconvenience |
@Princesseuh I just updated to version 2.1.3, and it seems to have a new issue in the serverless function. Here is what on the log:
|
I'm getting this error too. I've stripped out everything (it did have Sanity integrated) but it's now just two blank HTML templates and I'm still getting this with my config being:
|
What version of
astro
are you using?2.1.2
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
After migrated to assets folder and ran dev in localhost, everything went well.
Then I deployed to Vercel, with the latest integration package (3.2.0), the build succeeded but then when I accessed the site, the serverless function failed with error as below in the logs:
Here is the link to the preview deployment: https://vinh-dev-git-assets-vinhphm.vercel.app/
Link to Minimal Reproducible Example
None. I don't think I can reproduce it in Stackblitz since it related to Vercel
Participation
The text was updated successfully, but these errors were encountered: