-
-
Notifications
You must be signed in to change notification settings - Fork 1.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: v1 dev build failing due to missing packages #2300
Comments
Seems that WalletConnect unneccessarily pulls in Node.js dependencies (previously, Ethers.js polyfilled these, but polyfilling as a side-effect is generally not good practice). You can mitigate this by polyfilling module.exports = {
webpack: (config) => {
config.resolve.fallback = { fs: false, net: false, tls: false }
return config
},
} |
With walletconnect legacy being unused by most apps since its deprecation, how can we go about removing it instead of polyfilling junk for it to build? I'm trying to use the edge runtime for nextjs, and I can't figure out if there's something I can do in my project, or if I need to open up a PR in wagmi or connectkit. Thanks. |
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
1.0.1
Current Behavior
When spinning up a dev server of a fresh app with only latest (as of today) wagmi, rainbowkit, and viem installed, I see an error that prevents my build from completing.
Expected Behavior
The build completes without error.
Steps To Reproduce
pnpm create @rainbow-me/rainbowkit@latest
pnpm run dev
Link to Minimal Reproducible Example (StackBlitz, CodeSandbox, GitHub repo etc.)
No response
Anything else?
The text was updated successfully, but these errors were encountered: