Hey all, getting a weird error on my WASM/JS multiplatform build after adding the kotlinx-datetime dependency, any ideas what's going on here?
Shane Schaefer
07/17/2024, 7:04 AM
Uncaught (in promise) LinkError: WebAssembly.instantiate(): Import #304 "js_code" "kotlinx.datetime.internal.JSJoda.instant_$external_fun": function import requires a callable
Shane Schaefer
07/17/2024, 7:08 AM
I'm generating my files via
./gradlew :composeApp:assemble
Shane Schaefer
07/17/2024, 7:08 AM
but it works just fine when I test locally with
:composeApp:wasmJsBrowserDevelopmentRun
Shane Schaefer
07/17/2024, 8:11 AM
Not sure what happened exactly, but after multiple tries of cleaning caches/deleting build directories, its working now 🤷♂️