Closed JohannesKlauss closed 2 years ago
Did you try to delete .next
folder and run the build command again?
Yes I tried, it is still happening. Also happening on the deployment pipeline which doesn't hold the .next
folder.
Well I can reproduce this in my client's app, but I can't in a brand new app.
This is very odd. I'm investigating.
What is the problem?
Pre 0.42.0 builds ran just fine, there are no code changes, we just upgraded to 0.42.0. Now the build is failing trying to generate static pages with react-query complaining that there is no
QueryClient
set:Error: No QueryClient set, use QueryClientProvider to set one
Paste all your error logs here:
Paste all relevant code snippets here:
What are detailed steps to reproduce this?
Run
blitz -v
and paste the output here:Please include below any other applicable logs and screenshots that show your problem:
No response