#Vercel SSR: FUNCTION_INVOCATION_FAILED

1 messages · Page 1 of 1 (latest)

brittle needle
#

Has anyone run into the follow error when trying to set up SSR on vercel? I followed the guide (https://docs.astro.build/en/guides/integrations-guide/vercel/) exactly and the page is currently just the base template when you start a new astro project. But the following error appears. Vercel logs are not helpful either. 500: INTERNAL_SERVER_ERROR
Code: FUNCTION_INVOCATION_FAILED

Astro Documentation

Learn how to use the @astrojs/vercel SSR adapter to deploy your Astro project.

ashen condor
#

in the vercel dashboard for a project, you can find additional logs which might hint to what's happening

brittle needle
#

Thanks for the response. Yes, I've been looking at the logs but don't understand what the issue is. Here's some screenshots. Strangely GET/ favicon.ico also appears in the error log, but I have no favicon.ico or reference to one in my project...

ashen condor
#

hmm, that's odd. I'll try to go through the guide later, but in the meantime, are you able to share a reproduction repo?

brittle needle
#

Ah, nevermind. Looks like I fixed it. I had some build files from building locally which appear to have been getting pushed directly to vercel, instead of building on vercel. I deleted those directories and deployed and it seems to be working now 😄

ashen condor
#

haha, ahh. if that was .vercel I'd probably add that to .gitignore. I vaguely remember some problems with those