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

"Chain not configured" Bug #51

Open
codyvb opened this issue Aug 21, 2024 · 3 comments
Open

"Chain not configured" Bug #51

codyvb opened this issue Aug 21, 2024 · 3 comments

Comments

@codyvb
Copy link

codyvb commented Aug 21, 2024

Am attempting to run this locally and after I clone the repo and update .env.local, I get this error when I run:

"ChainNotConfiguredError: Chain not configured.

Version: @wagmi/[email protected]"

See Loom for video of the steps. https://www.loom.com/share/8e2db824cba44cbba6f6ec0d0a3cb74d?sid=da9f40e0-5105-4ede-bc4c-073512ddc31c

@asta-li
Copy link

asta-li commented Aug 22, 2024

Hello, thanks for the info and video! This is so odd, we're not able to reproduce this issue! We're also cloning the repo from a fresh state and updating the .env.local exactly as you are doing in the video, and it's running successfully without any issues.

A couple more ideas to try:

  • Just checking, are you running npm i inside the wagmi demo directory? I noticed you're calling npm i from your home directory.
  • Would you be able to try cloning the repo and running through the steps on a different machine, with a different app ID and environment variable?

@codyvb
Copy link
Author

codyvb commented Aug 22, 2024

hey hey. re npm i, yes. you can see in the loom but I made the mistake first and then moved to the wagmi demo directory.

don't have another machine unfortunately. just have a single laptop.

one thought. have you thought about making a repo for this on the latest version of Next? with the page/layout model? separate idea but maybe that could fix it.

@asta-li
Copy link

asta-li commented Aug 22, 2024

Thanks for the feedback here, I'll share with the team!

Have you tried with different versions of wagmi as well? Do you get this error when you integrate the Privy wagmi SDK directly following this guide: https://docs.privy.io/guide/react/wallets/usage/wagmi/?

We're still not able to repro this issue currently, which is definitely odd! It might make sense for us to hold off on making other changes until we are able to get a repro or if there are any other reports.

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

2 participants