I've read several discussions on how to shim nodejs modules such as Buffer and crypto, but so far I've never been able to fix the error ReferenceError: Can't find variable: Buffer. I tried using several rollup plugins. The last one I used is rollup-plugin-polyfill-node, but I still get the error. I tried defining it in the vite config, but then I get this error: TypeError: undefined is not an obje