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
A possible solution is to module.exports = { experimental: { missingSuspenseWithCSRBailout: false, }, } but that will be removed in future updates

4 Replies
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)
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
To be clear, the correct work around is to wrap
ClerkProvider
in Suspense
Was struggling with same
Thanks