chili-wasm.js:7 wasm streaming compile failed: TypeError: WebAssembly.instantiate(): Import #0 module="env": module is not an object or function
instantiateAsync @ chili-wasm.js:7
chili-wasm.js:7 falling back to ArrayBuffer instantiation
instantiateAsync @ chili-wasm.js:7
chili-wasm.js:7 failed to asynchronously prepare wasm: TypeError: WebAssembly.instantiate(): Import #0 module="env": module is not an object or function
instantiateArrayBuffer @ chili-wasm.js:7
chili-wasm.js:7 Aborted(TypeError: WebAssembly.instantiate(): Import #0 module="env": module is not an object or function)
2
chili-wasm.js:7 Uncaught (in promise) RuntimeError: Aborted(TypeError: WebAssembly.instantiate(): Import #0 module="env": module is not an object or function). Build with -sASSERTIONS for more info.
at abort (chili-wasm.js:7:2610)
at instantiateArrayBuffer (chili-wasm.js:7:3456)
at async createWasm (chili-wasm.js:7:4612)
at async Module.<anonymous> (chili-wasm.js:7:114294)
at async window.onload (index.html:89:24)
我试着编译了wasm,然后看到test又个index.html想自己测试一下,但是发现npm run dev启动服务后访问http://localhost:8080/cpp/test/index.html,一直又加载js报错的提示,如下:
咨询一些,这个测试的模块要怎么才能跑起来啊