Hey all, getting a weird error on my WASM/JS multi...
# kotlinx-datetime
s
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?
Uncaught (in promise) LinkError: WebAssembly.instantiate(): Import #304 "js_code" "kotlinx.datetime.internal.JSJoda.instant_$external_fun": function import requires a callable
I'm generating my files via
./gradlew :composeApp:assemble
but it works just fine when I test locally with
:composeApp:wasmJsBrowserDevelopmentRun
Not sure what happened exactly, but after multiple tries of cleaning caches/deleting build directories, its working now 🤷‍♂️