#Run Vercel production version locally

1 messages · Page 1 of 1 (latest)

wide knot
#

I am using the Vercel integration to deploy my app to Vercel. Everything runs fine on my dev server, but when I deploy to Vercel, I immeiately get a 500 error, and my app won't run.

If I build a production build and try to run npm run preview it tells me:

[preview] The @astrojs/vercel/serverless adapter does not support the preview command.

How can I debug a production build? Any other tips for approaching this problem?

burnt olive
#

maybe using the vercel cli? Not sure how it works

vast glade
#

Can do Vercel build