最新消息:Welcome to the puzzle paradise for programmers! Here, a well-designed puzzle awaits you. From code logic puzzles to algorithmic challenges, each level is closely centered on the programmer's expertise and skills. Whether you're a novice programmer or an experienced tech guru, you'll find your own challenges on this site. In the process of solving puzzles, you can not only exercise your thinking skills, but also deepen your understanding and application of programming knowledge. Come to start this puzzle journey full of wisdom and challenges, with many programmers to compete with each other and show your programming wisdom! Translated with DeepL.com (free version)

reactjs - Next.js build error: No QueryClient set, use QueryClientProvider to set one - Stack Overflow

matteradmin7PV0评论

I was building a simple 2-3 pages next.js. It's working fine on the dev mode next dev but continuously erroring in build.

I already tried to use @tanstack/react-query as per SO #65590195

The project is available on Stackblitz, if anyone can take a look to suggest a fix.

next build

Error -

Error: No QueryClient set, use QueryClientProvider to set one

> Export encountered errors on following paths:
        /GridView
        /TableView

Github link -

Post a comment

comment list (0)

  1. No comments so far