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

[bug] TypeError: this.provider.disconnect is not a function #2238

Open
1 task done
MadKittyxyz opened this issue Oct 31, 2024 · 4 comments
Open
1 task done

[bug] TypeError: this.provider.disconnect is not a function #2238

MadKittyxyz opened this issue Oct 31, 2024 · 4 comments

Comments

@MadKittyxyz
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

RainbowKit Version

2.2.0

wagmi Version

2.12.17

Current Behavior

Hey guys, I used out of the box rainbowkit installation process and everything is working great unless my page sits idle for a period then this errors pops up. Usually when Metamask is the wallet provider.

Not sure how to solve this one and any help would be greatly appreciated!

1 of 1 error
Next.js (14.2.13) out of date (learn more)
Unhandled Runtime Error
TypeError: this.provider.disconnect is not a function
Call Stack
ei.transportDisconnect
node_modules/@walletconnect/core/dist/index.es.js (1:42451)
eval
node_modules/@walletconnect/core/dist/index.es.js (1:46825)
eval
node_modules/@walletconnect/utils/dist/index.es.js (17:1407)

Expected Behavior

No response

Steps To Reproduce

Simply install rainbowkit (from docs: npm install @rainbow-me/rainbowkit wagmi [email protected] @tanstack/react-query)

basic chain setup etc, nothing out of the ordinary from documentation.

Link to Minimal Reproducible Example (CodeSandbox, StackBlitz, etc.)

No response

Anything else?

No response

@MadKittyxyz MadKittyxyz changed the title [bug] <title> [bug] TypeError: this.provider.disconnect is not a function Oct 31, 2024
@github-actions github-actions bot deleted a comment Nov 3, 2024
@lyfmantle
Copy link

same problem

WX20241120-165036

@berryboylb
Copy link

any update on this please

@agualis
Copy link

agualis commented Nov 28, 2024

We are happy with rainbowkit but this issue is one of the main reasons to consider moving to connect kit:

Screenshot 2024-11-28 at 10 01 32

@mohanramCypherD
Copy link

@MadKittyxyz I'm facing the exact same issue. Did you find any solution for this ?

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

No branches or pull requests

5 participants