Error building on Vercel after Turso database went on sleep
Unanswered
Rohu posted this in #help-forum
RohuOP
Hi everyone,
I am not quite sure if the problem is Vercel or Turso related.
A few days ago a hosted Sqlite Turso database I am using, both locally and on production went to sleep due to inactivity.
I activated it back today, but i noticed that my builds (Next.js 14 app) are failing, but ONLY on Vercel, on local is all fine, i am able to build (i have deleted the .next folder, so there is no cache)
Vercel is having some hard time on building the page where i use Turso, giving me this error:
Is there something else i should do in Vercel after enabling back the database from sleep?
Next.js version: 14.2.4
I am not quite sure if the problem is Vercel or Turso related.
A few days ago a hosted Sqlite Turso database I am using, both locally and on production went to sleep due to inactivity.
I activated it back today, but i noticed that my builds (Next.js 14 app) are failing, but ONLY on Vercel, on local is all fine, i am able to build (i have deleted the .next folder, so there is no cache)
Vercel is having some hard time on building the page where i use Turso, giving me this error:
⨯ Static worker exited with code: null and signal: SIGTERM
Build error occurred
Error: Static page generation for /crafts is still timing out after 3 attempts. See more info here https://nextjs.org/docs/messages/static-page-generation-timeout
at onRestart (/vercel/path0/node_modules/next/dist/build/index.js:293:27)
at /vercel/path0/node_modules/next/dist/lib/worker.js:95:40
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async /vercel/path0/node_modules/next/dist/export/index.js:450:20
at async Span.traceAsyncFn (/vercel/path0/node_modules/next/dist/trace/trace.js:154:20)
at async /vercel/path0/node_modules/next/dist/export/index.js:448:24
at async Promise.all (index 14)
at async exportAppImpl (/vercel/path0/node_modules/next/dist/export/index.js:440:21)
at async /vercel/path0/node_modules/next/dist/export/index.js:623:16
at async Span.traceAsyncFn (/vercel/path0/node_modules/next/dist/trace/trace.js:154:20)
Error: Command "npm run build" exited with 1Is there something else i should do in Vercel after enabling back the database from sleep?
Next.js version: 14.2.4