walletconnect-monorepo
walletconnect-monorepo copied to clipboard
WalletConnect + React, webpack issues
Describe the bug Using create-react-app and importing the @walletconnect/web3-provider package, the react development environment fails to start.
BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default.
This is no longer the case. Verify if you need this module and configure a polyfill for it.
If you want to include a polyfill, you need to:
- add a fallback 'resolve.fallback: { "https": require.resolve("https-browserify") }'
- install 'https-browserify'
If you don't want to include a polyfill, you can use an empty module like this:
resolve.fallback: { "https": false }
webpack compiled with 2 errors and 94 warnings
I am facing the same issue. Did you find any fix for this?
This issue has been discussed below :)
https://github.com/WalletConnect/walletconnect-monorepo/issues/584#issue-975121859