wabt
wabt copied to clipboard
error initializing module: invalid import "a.a"
It looks like you are perhaps trying to run a wasm module generated by emscripten with optimizations enabled.
emsripten will minify the names of the import/export between JS and Wasm, assuming that only the generated JS file will ever be loading the wasm file.
If you want to try to load the wasm module yourself without the generated JS then you would want build directly to wasm via -o