Giovani Guizzo
Giovani Guizzo
Going back to v0.17.0 clears the Buffer error, but gives me this: ```log TypeError: Cannot destructure property 'Uint8Array' of 'globalThis' as it is undefined. at node_modules/.pnpm/[email protected]_patch_hash=zkkuxompt5d553skpnegwi5wuy/node_modules/buffer/index.js (helpers.ts:226:31) at __require (helpers.ts:13:60)...
For those of you coming here with a problem with Buffer or any other polyfill, maybe this will help you: > Import the plugin before your react or vue plugin...
For reference, if I try to use v0.22.0, I get the following error: ```log TypeError: Cannot read properties of undefined (reading 'Buffer') at helpers.ts:2:32 ``` This is the culprit in...
Progress. Changing from `plugins: [react(), TanStackRouterVite(), nodePolyfills()],` to `plugins: [nodePolyfills(), react(), TanStackRouterVite()],` seems to have fixed the issue on v0.22.0.
Are you using Next.js? If so, take a look at this thread: https://github.com/anza-xyz/wallet-adapter/issues/883