Dynamic Require Error

Hi I've built a project where I'm importing @solana/web3.js in my APIs. I have nodejs_compat on. However I'm getting an error of dynamic require that's causing an internal error: Dynamic require of "node:buffer" is not supported\n at functionsWorker-0.8285285433039806.js:8:9 Is there a solution or workaround for this? Or do I need a node.js runtime? Thanks!
0 Replies
No replies yetBe the first to reply to this messageJoin

Did you find this page helpful?