martmists
11/18/2024, 3:57 PMimplementation("io.ktor:ktor-client-core:3.0.1")
to my commonMain dependencies is causing the JS IR compiler to fail, is this a known bug?martmists
11/18/2024, 4:13 PMmartmists
11/19/2024, 12:40 PMtemplate-site-site-frontend-web.uninstantiated.mjs:120 Uncaught (in promise) ReferenceError: getCachedJsObject is not defined
at kotlin.wasm.internal.getCachedJsObject_$external_fun (template-site-site-frontend-web.uninstantiated.mjs:120:78)
at <com.martmists.template:site-frontend>.kotlin.wasm.internal.getCachedJsObject_$external_fun__externalAdapter (template-site-site-frontend-web.wasm:0x3c8e19)
at <com.martmists.template:site-frontend>.kotlin.wasm.internal.externRefToAny (template-site-site-frontend-web.wasm:0x3c8b92)
at <com.martmists.template:site-frontend>.kotlin.wasm.internal.jsToKotlinAnyAdapter (template-site-site-frontend-web.wasm:0x3c8b65)
at <com.martmists.template:site-frontend>.androidx.compose.ui.window.CanvasBasedWindow (template-site-site-frontend-web.wasm:0x62507c)
at <com.martmists.template:site-frontend>.androidx.compose.ui.window.CanvasBasedWindow$default (template-site-site-frontend-web.wasm:0x6251fa)
at <com.martmists.template:site-frontend>.com.martmists.template.frontend.runComposeApp (template-site-site-frontend-web.wasm:0x815b71)
at <com.martmists.template:site-frontend>.main (template-site-site-frontend-web.wasm:0x815dbb)
at <com.martmists.template:site-frontend>.kotlin.wasm.internal.mainCallsWrapper (template-site-site-frontend-web.wasm:0x81c064)
at <com.martmists.template:site-frontend>._initialize (template-site-site-frontend-web.wasm:0x81c070)
which also seems to be a known issue: https://youtrack.jetbrains.com/issue/CMP-6658/ReferenceError-getCachedJsObject-is-not-defined-when-running-composeApp-WasmJsAleksei Tirman [JB]
11/19/2024, 12:43 PMmartmists
11/19/2024, 12:48 PMAleksei Tirman [JB]
11/19/2024, 12:49 PMimplementation("io.ktor:ktor-client-core:3.0.1")
martmists
11/19/2024, 12:50 PM