TS2322: Type 'QueryClient' is not assignable... Types have separate declarations of a private property 'queryCache'. This means TypeScript sees two different versions of QueryClient because it's being resolved:
once in your main app’s node_modules
once again inside .wasp/build/web-app/node_modules
They’re not the same instance, even if they are the same version — and TypeScript cannot match private fields (queryCache).
Continue the conversation
Join the Discord to ask follow-up questions and connect with the community
W
Wasp
Rails-like framework for React, Node.js and Prisma. Build your app in a day and deploy it with a single CLI command.