WebAssembly module not working for pages functions

Hi,

I created a local cf pages dev environment to try out [Preformatted text](https://developers.cloudflare.com/pages/platform/functions/module-support/#webassembly-modules), but when I try to run the following wrangler command:

@wrangler pages dev www \
                --live-reload \
                --port 9000 \
                --compatibility-date=2023-03-14

I got the following error:
✘ [ERROR] No loader is configured for ".wasm" files

I might have missed something from the docs. If anyone can tell me what I did wrong, It would be much appreciated.

Cheers!

What version of wrangler are you running? You can find this with wrangler —version

⛅️ wrangler 2.12.0 (update available 2.12.2)

dang! I just updated to the lates version and it worked!

Thanks @cherryjimbo!

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.