-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Vercel build error when using HydrationBoundary #7611
Comments
try: - queryFn: userService.getProfile
+ queryFn: () => userService.getProfile() in the server component. If that's not helping, I need to see a minimal reproduction please. |
what reproduction? that error appears only when deploying on vercel, on localhost everything is fine |
then I guess you want to open an issue at vercel 🤷 |
I fixed it, it happens because the promise is not resolving |
Describe the bug
And when i'm deploying on vercel i'm getting this error:
Your minimal, reproducible example
.
Steps to reproduce
See the code above
Expected behavior
Successful production build
How often does this bug happen?
Every time
Screenshots or Videos
No response
Platform
macOS, Arc Browser
Tanstack Query adapter
react-query
TanStack Query version
5.45.1
TypeScript version
5
Additional context
No response
The text was updated successfully, but these errors were encountered: