Skip to content
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

Incorrect tanstack version in customize admin widget docs #11232

Closed
1 task done
EzraBerendsen opened this issue Jan 30, 2025 · 3 comments · Fixed by #11246
Closed
1 task done

Incorrect tanstack version in customize admin widget docs #11232

EzraBerendsen opened this issue Jan 30, 2025 · 3 comments · Fixed by #11246

Comments

@EzraBerendsen
Copy link

EzraBerendsen commented Jan 30, 2025

What Medusa version and documentation are you using?

v2

Preliminary Checks

Issue Summary

Even though the docs say to install @tanstack/react-query@^5.28.14 I still get the following error: Uncaught Error: No QueryClient set, use QueryClientProvider

@dwene
Copy link
Contributor

dwene commented Jan 30, 2025

I'm also having this issue since updating to 2.4.0.

Seems like it might be related to this? #11112

@shahednasser
Copy link
Member

Hey guys, a recent update to the admin seems to have changed the version used to 5.64.2. Can you try using that version in your project and see if it fixes the issue?

@dwene
Copy link
Contributor

dwene commented Jan 31, 2025

For anyone else who runs into this error: Uncaught Error: No QueryClient set, use QueryClientProvider.

I believe this is an issue with the way yarn monorepos work + medusa. I had to add:

"installConfig": {
    "hoistingLimits": "workspaces"
  }

to my /apps/medusa/package.json and this issue resolved itself.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants