Hi,
Recently, the frontend code started to give out the following error:
Failed to compile.
./node_modules/@solana/buffer-layout-utils/lib/esm/web3.mjs
Can’t import the named export ‘PublicKey’ from non EcmaScript module (only default export is available)
I’m using:
“moralis”: “^1.5.11”,
“react”: “^18.1.0”,
Thank you,