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
I encountered a familiar error: ⨯ TypeError: (0 , rainbow_me_rainbowkit__WEBPACK_IMPORTED_MODULE_1_.getDefaultConfig) is not a function.
It occurs when I'm running on localhost and integrating authentication with Next.js. This error doesn't happen if I don't authenticate messages from the user's wallet. I am using t3-app to build my application, and I suspect that calling import { publicClient } from "@/lib/wagmi"; and using it in the backend is causing the config variable in wagmi.ts to be re-initialized on the backend, leading to this error. I tried logging the config variable before the error occurs, and it looks completely normal.
Is there an existing issue for this?
RainbowKit Version
2.2.4
wagmi Version
2.14.11
Current Behavior
I encountered a familiar error:
⨯ TypeError: (0 , rainbow_me_rainbowkit__WEBPACK_IMPORTED_MODULE_1_.getDefaultConfig) is not a function.
It occurs when I'm running on localhost and integrating authentication with Next.js. This error doesn't happen if I don't authenticate messages from the user's wallet. I am using t3-app to build my application, and I suspect that calling
import { publicClient } from "@/lib/wagmi";
and using it in the backend is causing the config variable in wagmi.ts to be re-initialized on the backend, leading to this error. I tried logging the config variable before the error occurs, and it looks completely normal.The text was updated successfully, but these errors were encountered: