I ran my app using Github Pages and am now seeing ...
# compose-web
d
I ran my app using Github Pages and am now seeing a new error in the console and was wondering if anyone has seen it before. Error in the thread 🧵
Copy code
async module:63 Uncaught (in promise) 
LinkError: WebAssembly.instantiate(): Import #72 "js_code" "org.w3c.dom.body_$external_prop_getter": function import requires a callable
await (async)		
i.a	@	async module:49
i	@	bootstrap:19
(anonymous)	@	startup:4
(anonymous)	@	startup:4
(anonymous)	@	universalModuleDefinition:9
(anonymous)	@	universalModuleDefinition:1
Show 1 more frame
k
Kindly recheck that. I also faced the same issue. Run the web app from Android Studio and when the web app runs fine then press CTRL + SHIFT + I and the side window will appear, from there you can see the bugs. I was getting some errors there and that's why I also get that here as well.
d
@Khubaib Khan I just cleaned the project and ran the distribution commands again and it worked.
k
Great news.
s
Which Compose version are you using? I'm still getting same error in WASM production (JS works). I am using 1.7.0-dev1686 release https://shreyashkore.github.io/wonderous-compose-wasm/