I tried to use Web3Auth on a Nuxt 3.0.0 project but I cannot make it work.
As Nuxt uses Vite, I followed the instructions here and I updated my nuxt.config.ts to add these options on vite config but I still have an error
X [ERROR] No matching export in "node-modules-polyfills:crypto" for import "randomBytes"
node_modules/rollup-plugin-node-polyfills/dist/index.mjs:3:9:
3 │ import { randomBytes } from 'crypto';
╵ ~~~~~~~~~~~
I tried to use Web3Auth on a Nuxt 3.0.0 project but I cannot make it work.
As Nuxt uses Vite, I followed the instructions here and I updated my nuxt.config.ts to add these options on vite config but I still have an error
Here's my nuxt.config.ts :
Any idea of the source of the bug?