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
Link to Minimal Reproducible Example (StackBlitz, CodeSandbox, GitHub repo etc.)
No response
Anything else?
I copied error logs from Chrome browser.
Uncaught TypeError: Cannot read properties of undefined (reading 'mount')
at QueryClientProvider.tsx:78:12
at commitHookEffectListMount (react-dom.development.js:23150:26)
at commitPassiveMountOnFiber (react-dom.development.js:24926:13)
at commitPassiveMountEffects_complete (react-dom.development.js:24891:9)
at commitPassiveMountEffects_begin (react-dom.development.js:24878:7)
at commitPassiveMountEffects (react-dom.development.js:24866:3)
at flushPassiveEffectsImpl (react-dom.development.js:27039:3)
at flushPassiveEffects (react-dom.development.js:26984:14)
at react-dom.development.js:26769:9
at workLoop (scheduler.development.js:266:34)
react-dom.development.js:22839 Uncaught TypeError: Cannot read properties of undefined (reading 'mount')
at QueryClientProvider.tsx:78:12
at commitHookEffectListMount (react-dom.development.js:23150:26)
at invokePassiveEffectMountInDEV (react-dom.development.js:25154:13)
at invokeEffectsInDev (react-dom.development.js:27351:11)
at commitDoubleInvokeEffectsInDEV (react-dom.development.js:27330:7)
at flushPassiveEffectsImpl (react-dom.development.js:27056:5)
at flushPassiveEffects (react-dom.development.js:26984:14)
at react-dom.development.js:26769:9
at workLoop (scheduler.development.js:266:34)
at flushWork (scheduler.development.js:239:14)
2react-dom.development.js:18687 The above error occurred in the <QueryClientProvider> component:
at QueryClientProvider (http://localhost:5173/node_modules/.vite/deps/wagmi.js?v=421a082a:2874:3)
at WagmiConfig (http://localhost:5173/node_modules/.vite/deps/wagmi.js?v=421a082a:3123:3)
at main
at http://localhost:5173/node_modules/.vite/deps/chunk-7EHXR3VF.js?v=421a082a:2383:51
at Box3 (http://localhost:5173/node_modules/.vite/deps/chunk-7EHXR3VF.js?v=421a082a:5224:19)
at div
at http://localhost:5173/node_modules/.vite/deps/chunk-7EHXR3VF.js?v=421a082a:2383:51
at Box3 (http://localhost:5173/node_modules/.vite/deps/chunk-7EHXR3VF.js?v=421a082a:5224:19)
at PermanentDrawerLeft (http://localhost:5173/src/components/Navigation.tsx:37:3)
at Router (http://localhost:5173/node_modules/.vite/deps/react-router-dom.js?v=421a082a:3318:15)
at BrowserRouter (http://localhost:5173/node_modules/.vite/deps/react-router-dom.js?v=421a082a:3731:5)
Consider adding an error boundary to your tree to customize error handling behavior.
Visit https://reactjs.org/link/error-boundaries to learn more about error boundaries.
logCapturedError @ react-dom.development.js:18687
react-dom.development.js:12056 Uncaught TypeError: Cannot read properties of undefined (reading 'mount')
at QueryClientProvider.tsx:78:12
at commitHookEffectListMount (react-dom.development.js:23150:26)
at commitPassiveMountOnFiber (react-dom.development.js:24926:13)
at commitPassiveMountEffects_complete (react-dom.development.js:24891:9)
at commitPassiveMountEffects_begin (react-dom.development.js:24878:7)
at commitPassiveMountEffects (react-dom.development.js:24866:3)
at flushPassiveEffectsImpl (react-dom.development.js:27039:3)
at flushPassiveEffects (react-dom.development.js:26984:14)
at react-dom.development.js:26769:9
at workLoop (scheduler.development.js:266:34)
The text was updated successfully, but these errors were encountered:
This issue has been locked since it has been closed for more than 14 days.
If you found a concrete bug or regression related to it, please open a new bug report with a reproduction against the latest wagmi version. If you have any other comments you can create a new discussion.
Is there an existing issue for this?
Package Version
wagmi 0.11.7, @wagmi/core 0.9.7
Current Behavior
I'm using Wagmi with Typescript and Vite with below package.json.
WagmiConfig component throws below type error
Expected Behavior
wagmi client options delivered and wallet connection should work
Steps To Reproduce
Code and configure like below. This should work based on Wagmi.dev docs
Link to Minimal Reproducible Example (StackBlitz, CodeSandbox, GitHub repo etc.)
No response
Anything else?
I copied error logs from Chrome browser.
The text was updated successfully, but these errors were encountered: