[cache components]: build fail because of request.nextUrl.searchParams
#85412
Unanswered
coderrshyam
asked this question in
Help
Replies: 2 comments 18 replies
-
|
|
Beta Was this translation helpful? Give feedback.
18 replies
-
|
I've found the same issue while testing random things the other day. Ended up fixing it by awaiting connection on top. I've created this repo to replicate the problem. It happens on canary version too: |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Summary
I am using
Next.js@16with react compiler, cache components and turbopack.I got build error in
route.ts:What I do at this point as searchParams is required to genrate og image.
Additional information
No response
Example
No response
Beta Was this translation helpful? Give feedback.
All reactions