Vercel Deployer always leads to Empty Builds
/swagger-ui
always shows a 404 error, as if no agents / workflows exist when it deploys to Vercel.
However, normal .mastra/output builds wthout using new VercelDeployer()
shows the playground and swagger-ui correctly as it should.
EDIT: Now for some reason, even non-vercel-deployer builds come empty with no api routes and agents and workflows.
6 Replies
Was there a recent update that could have broken the build
It seems like it. My deployments are not working either.
Hi @kumareth & @DrMandelbrot ! Do you guys mean that the swagger-ui is not available, but the API is working, right?
Are you setting up the swagger in the server config?
📝 Created GitHub issue: https://github.com/mastra-ai/mastra/issues/8868
GitHub
[DISCORD:1427673584381460480] Vercel Deployer always leads to Empty...
This issue was created from Discord post: https://discord.com/channels/1309558646228779139/1427673584381460480 /swagger-ui always shows a 404 error, as if no agents / workflows exist when it deploy...
Oh I see, let me try it
@Romain is there a way to also enable playground
Not at the moment unfortunately 😉