kleinpetr
kleinpetr
Explore posts from servers
NNuxt
Created by kleinpetr on 11/20/2024 in #❓・help
How to polyfill buffer when using web3 Solana connector
Hi, I am facing a build issue when I try to build for cloudflare_pages
ERROR Cannot resolve "unenv/runtime/node/buffer/index/" from "~/Projects/playground/nuxt-walletconnect/node_modules/.pnpm/@[email protected]/node_modules/@keystonehq/bc-ur-registry/dist/index.js" and externals are not allowed!
ERROR Cannot resolve "unenv/runtime/node/buffer/index/" from "~/Projects/playground/nuxt-walletconnect/node_modules/.pnpm/@[email protected]/node_modules/@keystonehq/bc-ur-registry/dist/index.js" and externals are not allowed!
here is minimal reproduction https://stackblitz.com/github/kleinpetr/nuxt-solana I was trying to enable experimental clientNodeCompat: true but it didn't help I was trying to polyfill node by this example https://stackoverflow.com/questions/77903800/vite-solana-wallet-adapter but it also didn't help I wouldn't need to know how I could get more details and how to think about the polyfilling. Thanks for your ideas 🙏
5 replies
NNuxt
Created by kleinpetr on 8/6/2024 in #❓・help
Change nitro preset for tests
No description
2 replies