examples icon indicating copy to clipboard operation
examples copied to clipboard

Error to load ifc file WebAssembly function import requires a callable

Open Aarbel opened this issue 3 years ago • 3 comments

RuntimeError: abort(LinkError: WebAssembly.instantiate(): Import #54 module="a" function="ba" error: function import requires a callable). Build with -s ASSERTIONS=1 for more info.

image

Aarbel avatar Feb 02 '22 23:02 Aarbel

Hi @Aarbel I'm running into the same issue. Were you able to solve this? I assume it's an issue with the build and integration of the .wasm files in the public folder.

hdoshi2 avatar Apr 08 '22 04:04 hdoshi2

@hdoshi2 didn't had time to investigate it

Aarbel avatar Apr 11 '22 09:04 Aarbel

Facing this error too guys. Have you solve this ?.

suryakumara avatar Jul 18 '22 09:07 suryakumara

download and update the .wasm file in your project its fixed my problem, it seems webassembly file is not updated in angular example folder.

here is the updated wasm file link https://github.com/IFCjs/web-ifc-viewer/tree/master/example/files

chandrakantnaik789 avatar Dec 01 '22 10:12 chandrakantnaik789