ai-chatbot icon indicating copy to clipboard operation
ai-chatbot copied to clipboard

Vercel Build Error

Open JacobGoldenArt opened this issue 2 years ago • 2 comments

I did the one click build, without modifying any code, but when it went to make a build:

Build Failed The Edge Function "share/[id]" size is 1.32 MB and your plan size limit is 1 MB.

I'm on the hobby plan. Is there a way to decrease the size of this edge function so that I'm able to use it on the hobby plan?

Thanks! This looks super cool for building off of. Can't wait to dig into it.

JacobGoldenArt avatar Jun 18 '23 05:06 JacobGoldenArt

remove opengraph-image.tsx file on your repo and build it again.

seraj avatar Jun 18 '23 05:06 seraj

Duplicate of #27 I worked around this by turning off edge runtime for a couple of routes:

// export const runtime = 'edge'

SumitBando avatar Jun 18 '23 08:06 SumitBando

Fixed here: https://github.com/vercel-labs/ai-chatbot/pull/186

leerob avatar Nov 27 '23 02:11 leerob