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.
No description
6 Replies
kumareth
kumarethOP2w ago
Was there a recent update that could have broken the build
DrMandelbrot
DrMandelbrot2w ago
It seems like it. My deployments are not working either.
_roamin_
_roamin_7d ago
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?
const mastra = new Mastra({
server: {
build: {
swaggerUI: true,
},
},
})
const mastra = new Mastra({
server: {
build: {
swaggerUI: true,
},
},
})
Mastra Triager
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...
kumareth
kumarethOP4d ago
Oh I see, let me try it @Romain is there a way to also enable playground
_roamin_
_roamin_4d ago
Not at the moment unfortunately 😉

Did you find this page helpful?