noreen attahb
CDCloudflare Developers
•Created by noreen attahb on 1/3/2024 in #workers-help
Cannot use WASM in a Pages Function using @cloudflare/pages-plugin-vercel-og
I'm running into an interesting error where when building the function (using either
dev
or deploy
), where on the build I get this error from Wrangler:
I really don't understand what's going on here, because the file exists, except for the ?module
bit (no idea where that's coming from). A second similar error occurs in the same path except for yoga.wasm
. I'm not too familiar with using WASM here, and I don't have a Wrangler.toml file because so far I haven't needed one, but I've just being incorporating this tutorial into my existing app. My imports aren't anything special, just straight from the tutorial, but I'm pretty sure this is Wrangler throwing the error anyway.
Thanks for your help!3 replies