You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Uncaught (in promise) TypeError: client.defaultQueryOptions is not a function
at ComputedRefImpl.fn (chunk-XV6XIJVG.js?v=897b9526:3988:30)
at refreshComputed (chunk-TF6X5W6F.js?v=897b9526:634:29)
at get value (chunk-TF6X5W6F.js?v=897b9526:1825:5)
at useBaseQuery (chunk-XV6XIJVG.js?v=897b9526:3992:58)
at useQuery (chunk-XV6XIJVG.js?v=897b9526:4082:10)
at useUpload (user.ts:8:10)
at setup (UserDetails.vue:56:26)
at callWithErrorHandling (chunk-TF6X5W6F.js?v=897b9526:2260:19)
at setupStatefulComponent (chunk-TF6X5W6F.js?v=897b9526:9943:25)
at setupComponent (chunk-TF6X5W6F.js?v=897b9526:9904:36)
Describe the bug
I am using Vue
@tanstack/vue-query
I have latest packages:
i get this error:
main.ts:
I solved my downgrade the version to :
"@tanstack/vue-query": "^4.37.1",
I hope to fix this issue
Your minimal, reproducible example
https://github.com/Ge6ben/TanStack-Query
Steps to reproduce
main.ts:
package.json :
in vue file
Expected behavior
Just run
How often does this bug happen?
when load in the first time
Screenshots or Videos
Platform
macOS
Chrome
Tanstack Query adapter
None
TanStack Query version
5.59.13
TypeScript version
5.6.3
Additional context
No response
The text was updated successfully, but these errors were encountered: