-
-
Notifications
You must be signed in to change notification settings - Fork 1k
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] Cannot find module @walletconnect/ethereum-provider when in node context #207
Comments
We are also seeing this error in nextjs! |
What version of Next.js are you using? I'm not able to reproduce with this CodeSandbox. Feel free to tweak it. |
Does code sandbox support getStaticProps? |
Using v12.1 Nextjs |
Closing this as it seems to have resolved itself with the newer versions. I think it may have been related to a underlying library |
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
0.2.15
Current Behavior
When building a page with next.js using getStaticProps, it attempts to use the commonjs module version of wagmi and breaks as it looks like wagmi-core doesnt export or include the required module.
Expected Behavior
No response
Steps To Reproduce
Create a next.js app
Use get static props to force serverside build of the page.
Attempt to load the page
Link to Minimal Reproducible Example (CodeSandbox, StackBlitz, etc.)
No response
Anything else?
No response
The text was updated successfully, but these errors were encountered: