I am having this error on next js and @web3auth/web3auth-wagmi-connector/
Server Error
Error: require() of ES Module /Users/alexandrecarvalheira/Documents/Buidl/BuidlProject/node_modules/@wagmi/core/dist/index.js from /Users/alexandrecarvalheira/Documents/Buidl/BuidlProject/node_modules/@web3auth/web3auth-wagmi-connector/dist/web3authWagmiConnector.cjs.js not supported. Instead change the require of index.js in /Users/alexandrecarvalheira/Documents/Buidl/BuidlProject/node_modules/@web3auth/web3auth-wagmi-connector/dist/web3authWagmiConnector.cjs.js to a dynamic import() which is available in all CommonJS modules.
This error happened while generating the page. Any console logs will be displayed in the terminal window.