-
-
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
Issue deploying to Vercel: could not resolve chunk #5138
Comments
What does your |
Hi @matthewp , thanks for the quick reply! |
Hm, |
No, no other folders created… |
Btw it worked before on [email protected] and @astro/[email protected], see diff: |
Maybe @JuanM04 has an idea about this? I see you worked on most of the changes of the adapter? |
What version of
astro
are you using?1.5.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
When deploying to Vercel, I get the following error:
vc-file-system:entry.mjs:280:267: ERROR: Could not resolve "./chunks/BlogLayout.821cbd02.mjs"
When I have a look in the output from the build process (with npm run build locally), I can see only 1 chunk is created.
I added my Github repo here, not sure if I should create a Stackblitz instead since it seems to be closely related to the adapter?
Astro config:
When changing to @astrojs/vercel/serverless, I do get the BlogLayout chunk generated, so might be "edge" only.
Link to Minimal Reproducible Example
https://github.com/thomasledoux1/website-thomas-astro
Participation
The text was updated successfully, but these errors were encountered: