# \[Archive\] Can't resolve '@walletconnect/client'

**URL:** <https://builder.metamask.io/t/archive-cant-resolve-walletconnect-client/2008>\
**Category:** Embedded Wallets (Web3Auth)\
**Created:** [March 20, 2023, 5:38pm UTC](https://builder.metamask.io/t/archive-cant-resolve-walletconnect-client/2008 "2023-03-20T17:38:19Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![klashreik](https://avatars.discourse-cdn.com/v4/letter/k/ee59a6/32.png) [@klashreik](https://builder.metamask.io/u/klashreik)\
**Post date:** [March 20, 2023, 5:38pm UTC](https://builder.metamask.io/t/archive-cant-resolve-walletconnect-client/2008/1 "2023-03-20T17:38:19Z")

</div>

> **🏛 Archived Content from Web3Auth Community**
> 
> This topic was originally posted by **klashreik** on 3/20/2023.  
> This content has been migrated from our previous community forum to preserve valuable discussions.

* * *

Try to connect rainbowkit with wagmi and web3auth and get an error

[![image](https://canada1.discourse-cdn.com/flex011/uploads/metamaskbuilderhub/original/2X/f/f9b19f1904af5db1607eb2db9f9e31f90016a6a8.png)
image969×396 16.8 KB
](https://community.web3auth.io/community/community/uploads/default/original/1X/99c39add4f7eaa4727e4be0d1a2db732798f3f57.png "image")

dependencies that I use are:  
“@rainbow-me/rainbowkit”: “^0.12.1”,  
“@web3auth/base”: “^5.0.1”,  
“@web3auth/modal”: “^5.0.1”,  
“@web3auth/openlogin-adapter”: “^5.0.1”,  
“@web3auth/torus-wallet-connector-plugin”: “^5.0.1”,  
“@web3auth/web3auth-wagmi-connector”: “^3.0.0”,  
“ethers”: “^5”,  
“wagmi”: “^0.12.1”

Also, I use yarn to install everything.

Thank you in advance!

---

<div class="post-metadata">

**Author:** ![klashreik](https://avatars.discourse-cdn.com/v4/letter/k/ee59a6/32.png) [@klashreik](https://builder.metamask.io/u/klashreik)\
**Post date:** [March 21, 2023, 10:31am UTC](https://builder.metamask.io/t/archive-cant-resolve-walletconnect-client/2008/2 "2023-03-21T10:31:14Z")

</div>

I’ve added @walletconnect/client myself and now I have this:

[![image](https://canada1.discourse-cdn.com/flex011/uploads/metamaskbuilderhub/original/2X/7/79aba8a790641963487cdff8750e71a6c6188274.png)
image949×876 28.5 KB
](https://community.web3auth.io/community/community/uploads/default/original/1X/c7197ede5738230ebd26138b39538dcbcdd0e6f9.png "image")

---

<div class="post-metadata">

**Author:** ![yashovardhan](https://yyz1.discourse-cdn.com/flex011/user_avatar/builder.metamask.io/yashovardhan/32/1526_2.png) [@yashovardhan](https://builder.metamask.io/u/yashovardhan)\
**Post date:** [March 22, 2023, 7:18pm UTC](https://builder.metamask.io/t/archive-cant-resolve-walletconnect-client/2008/3 "2023-03-22T19:18:08Z")

</div>

an you try using npm instead and check if the error exists for you? @walletconnect/client is not needed for our side directly so not sure why this is going wrong. I will try to replicate this issue though.

---

<div class="post-metadata">

**Author:** ![klashreik](https://avatars.discourse-cdn.com/v4/letter/k/ee59a6/32.png) [@klashreik](https://builder.metamask.io/u/klashreik)\
**Post date:** [March 22, 2023, 8:03pm UTC](https://builder.metamask.io/t/archive-cant-resolve-walletconnect-client/2008/4 "2023-03-22T20:03:12Z")

</div>

Using npm i don’t get @wallet/connect error, but I have error which is one post higher about ethers/lib/utils.js. I guess it’s caused by ethers.js version. Which one should I use?

Thanks!

---

<div class="post-metadata">

**Author:** ![klashreik](https://avatars.discourse-cdn.com/v4/letter/k/ee59a6/32.png) [@klashreik](https://builder.metamask.io/u/klashreik)\
**Post date:** [March 22, 2023, 8:19pm UTC](https://builder.metamask.io/t/archive-cant-resolve-walletconnect-client/2008/5 "2023-03-22T20:19:00Z")

</div>

If you want to reproduce I can share github repository with you.

What is to tell, that I use nextJS to create my app.

Thanks!

---

<div class="post-metadata">

**Author:** ![chai](https://avatars.discourse-cdn.com/v4/letter/c/919ad9/32.png) [@chai](https://builder.metamask.io/u/chai)\
**Post date:** [March 24, 2023, 1:28pm UTC](https://builder.metamask.io/t/archive-cant-resolve-walletconnect-client/2008/6 "2023-03-24T13:28:41Z")

</div>

pls share github repo.  
you need to use ethers 5

---

<div class="post-metadata">

**Author:** ![klashreik](https://avatars.discourse-cdn.com/v4/letter/k/ee59a6/32.png) [@klashreik](https://builder.metamask.io/u/klashreik)\
**Post date:** [March 24, 2023, 1:45pm UTC](https://builder.metamask.io/t/archive-cant-resolve-walletconnect-client/2008/7 "2023-03-24T13:45:30Z")

</div>

Here it is

 ![](https://github.githubassets.com/favicons/favicon.svg)

```
  <a href="https://github.com/KlashReik/web3auth-connector-error-nextjs" target="_blank" rel="noopener nofollow ugc">GitHub</a>

```

 ![](https://canada1.discourse-cdn.com/flex011/uploads/metamaskbuilderhub/original/2X/8/884615771f54a5ef3a6f4d9137797036aaca27e9.png)

### [GitHub - KlashReik/web3auth-connector-error-nextjs](https://github.com/KlashReik/web3auth-connector-error-nextjs)

Contribute to KlashReik/web3auth-connector-error-nextjs development by creating an account on GitHub.

Thanks in advance!

---

<div class="post-metadata">

**Author:** ![chai](https://avatars.discourse-cdn.com/v4/letter/c/919ad9/32.png) [@chai](https://builder.metamask.io/u/chai)\
**Post date:** [March 30, 2023, 9:11am UTC](https://builder.metamask.io/t/archive-cant-resolve-walletconnect-client/2008/8 "2023-03-30T09:11:15Z")

</div>

Released 3.0.1 with the fix.  
Pls upgrade

---

<div class="post-metadata">

**Author:** ![klashreik](https://avatars.discourse-cdn.com/v4/letter/k/ee59a6/32.png) [@klashreik](https://builder.metamask.io/u/klashreik)\
**Post date:** [March 30, 2023, 1:53pm UTC](https://builder.metamask.io/t/archive-cant-resolve-walletconnect-client/2008/9 "2023-03-30T13:53:29Z")

</div>

Upgraded, but this didn’t really help

[![image](https://canada1.discourse-cdn.com/flex011/uploads/metamaskbuilderhub/original/2X/d/d3142afb5760ca58ea9fdddade2b659d05a6cf38.png)
image868×475 14.7 KB
](https://community.web3auth.io/community/community/uploads/default/original/1X/c5dd33d8f783c473b6aef8809b85f8fa5f4e6191.png "image")

---

<div class="post-metadata">

**Author:** ![chai](https://avatars.discourse-cdn.com/v4/letter/c/919ad9/32.png) [@chai](https://builder.metamask.io/u/chai)\
**Post date:** [April 5, 2023, 4:08am UTC](https://builder.metamask.io/t/archive-cant-resolve-walletconnect-client/2008/10 "2023-04-05T04:08:21Z")

</div>

we’re not able to repro this issue.  
Can you please share a minimal reproducible example?

You can also refer to this example here: [https://github.com/Web3Auth/web3auth-wagmi-connector/tree/master/demos/wagmi-nextjs](https://github.com/Web3Auth/web3auth-wagmi-connector/tree/master/demos/wagmi-nextjs)
