Deployment Issue with Astro Application on Vercel

Thanks for reaching out, @mickaelsanches!

I want to make sure you’re not completely stuck while you try more permanent solutions. You should be able to deploy from a local build using vercel build && vercel deploy --prebuilt as a temporary workaround.

Some people with similar build issues have had success by changing the max_old_space_size to something below the 8192 MB build container memory. Does it work if you change it to NODE_OPTIONS=--max_old_space_size=6144?

If that doesn’t work, you should try the other suggestions in this guide: JavaScript heap out of memory with Astro and GitHub Actions | Steve Fenton. The suggests are useful even though the original guide was written for GItHub Actions rather than Vercel.

Please let me know whether any of that solves it for you. :pray: