DEV Community

Discussion on: Quick Tutorial: Write Go, Run WASM!

Collapse
 
gregoryledray profile image
Gregory Ledray • Edited

You're building into an exe with a wasm extension, which then isn't executable by the browser. I tried to fix this on my machine by setting the environment variables again, but it didn't work. If you can, try compiling on a UNIX system instead of using Windows.

If you're using goland, try using these directions:
buildersbox.corp-sansan.com/entry/...

I'm not really surprised this doesn't work on Windows, considering that plugins don't work on Windows, which seems to indicate to me that wasm is really only going to be well-supported on UNIX systems.