kvnang/workers-og

Wrangler unable to find .wasm files

mpl1018 opened this issue · 1 comments

Deploying this on cloudflare workers, using it as it says in the readme. Gives this error:
✘ [ERROR] Build failed with 2 errors: node_modules/esbuild/lib/main.js:1360:21: ERROR: [plugin: wrangler-module-collector] ENOENT: no such file or directory, open '/app/.output/server/chunks/resvg-LFIOYO65.wasm' node_modules/esbuild/lib/main.js:1360:21: ERROR: [plugin: wrangler-module-collector] ENOENT: no such file or directory, open '/app/.output/server/chunks/yoga-ZMNYPE6Z.wasm'

Using:
"wrangler": "3.28.2",
"nuxt": "^3.10.2",

Hey it's hard to debug as I'm not sure what your application looks like. Seems that you're using this within a framework? Could you please share the repo or some minimal reproducible code?