#static+vercel: "r is not defined"

2 messages · Page 1 of 1 (latest)

ruby pagoda
#

I'm getting a cryptic "r is not defined" error when deploying a static build on vercel. It works fine on local, and it was working just fine like 2 days ago.

ReferenceError: r is not defined
20:12:27.480        at file:///vercel/path0/documentation/dist/chunks/pages/all.0f959e61.mjs:391:5
20:12:27.480        at createRoot (file:///vercel/path0/documentation/dist/chunks/pages/all.0f959e61.mjs:33:14)
20:12:27.480        at renderToString (file:///vercel/path0/documentation/dist/chunks/pages/all.0f959e61.mjs:388:14)
20:12:27.480        at Object.renderToStaticMarkup (file:///vercel/path0/documentation/dist/entry.mjs?time=1678446747178:34:16)
20:12:27.480        at renderFrameworkComponent (file:///vercel/path0/documentation/dist/chunks/astro.aca5f1fa.mjs:1617:66)
20:12:27.480        at processTicksAndRejections (node:internal/process/task_queues:96:5)
20:12:27.525    error Command failed with exit code 1.
#

I've tried to redeploy an old commit that was working fine 2 days ago, but it fails as well