-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
[BUG] mutationObserver.ts:61 Uncaught TypeError: __privateGet(...).defaultMutationOptions is not a function #6408
Comments
Hey @dzcpy try removing node_modules folder and do the install again. |
Just tried that and it's still not working |
May I know the max version of @tanstack/react-query refine supports? Maybe I'll need to pin the module to this version. |
You don't need to explicitly install react-query package. |
We have an issue to upgrade to v5 but it's not active for now. There are some breaking changes with Refine. |
Here is the issue #5370 |
Hey @dzcpy, you can check out the |
Thanks for the response, for anyone else who also has experinced this, explicitly installing v4 version of react query solved the problem |
@aliemir As the github co-founder and "inventor" of semver said a couple years ago; major version numbers are not sacred It's just painful legacy, rip the band-aid! You have all the minors in the world (I mean the |
Describe the bug
Hi,
Today I deleted the pnpm's pnpm-lock.yml and reinstalled the modules. However Refine stops working, showing the following errors:
Looks like it's a react query dependency issue. I upgraded all modules to the most current version and they still don't work. What could be the fix and what version of react query does refine require?
Steps To Reproduce
Expected behavior
Not to throw an error.
Packages
Additional Context
No response
The text was updated successfully, but these errors were encountered: