Yoli Ichtaca
Yoli Ichtaca13mo ago

Deployment Issue - Next.js 14.1.0 + Convex

I'm getting this Suspense error about useSearchParams in my components. Funny thing, none of them have a use for useSearchParams. Any ideas?
A possible solution is to module.exports = { experimental: { missingSuspenseWithCSRBailout: false, }, } but that will be removed in future updates
No description
4 Replies
Michal Srb
Michal Srb13mo ago
Hey @Yoli Ichtaca , which template/quick start/project are you following? This is caused by Next.js 14.1, we'll need to update all our docs to handle this new enforcement (wherever ClerkProvider is used)
danverbs
danverbs13mo ago
I joined the server to ask this EXACT question - I've followed the docs and many YT videos but I just could not get the project deployed to Vercel without these errors. I'll try your workaround I didn't attempt the workaround yet but I downgraded my next package to 14.0.4 and it successfully deployed to Vercel
Michal Srb
Michal Srb13mo ago
To be clear, the correct work around is to wrap ClerkProvider in Suspense
Abhishek
Abhishek13mo ago
Was struggling with same Thanks

Did you find this page helpful?