Next.js Discord

Discord Forum

Stuck collecting page data on Vercel build only

Unanswered
Matthew Fisher, MSCIS posted this in #help-forum
Open in Discord
Hi all! I'm stuck getting a client app live, unable to deploy to Vercel, and need some help from the community.

The build hangs on collecting page data, and occasionally shows a SIGTERM error message. This does not happen when I build locally with npm run build, but it does happen when I build locally with vercel build --prod using the Vercel CLI.

I suspect the issue has to do with my use of serverless-mysql, and improper connection pooling for serverless, but I haven't been able to track down a specific error message.

Attachments: build error screenshot, serverless-mysql file.

I appreciate any help you can offer!

0 Replies