Robert Jaros
08/15/2025, 3:52 PMStefan Oltmann
08/17/2025, 6:05 PMVidmantas Kerbelis
08/18/2025, 8:33 AMeygraber
08/19/2025, 3:04 PMJsAny
be supported in the shared source set? That's been the biggest issue for me when working with common web code.
https://kotlinlang.org/docs/whatsnew-eap.html#shared-source-set-for-js-and-wasmjs-targetsDavid Breneisen
08/19/2025, 9:13 PMsdeleuze
08/21/2025, 7:56 AMPHondogo
08/22/2025, 1:37 PMchrisjenx
08/22/2025, 6:42 PMCannot GET /
when running lolRobert Jaros
08/24/2025, 5:44 AMMario Andhika
08/25/2025, 8:08 AMMichael Paus
08/25/2025, 11:01 AMMario Andhika
08/26/2025, 2:13 AMWebAssembly.instantiateStreaming(): Compiling function #95814:"asia.zeals.mobile.pwa.ui.components.BTZTD$lambd..." failed: call[1] expected type (ref null 564), found if of type (ref null 6) @+11835139
CompileError: WebAssembly.instantiateStreaming(): Compiling function #95814:"asia.zeals.mobile.pwa.ui.components.BTZTD$lambd..." failed: call[1] expected type (ref null 564), found if of type (ref null 6) @+11835139
Himanshu Kumar
08/26/2025, 8:09 AMMario Andhika
08/27/2025, 6:48 AMStefan Oltmann
08/27/2025, 5:33 PMHimanshu Kumar
08/28/2025, 5:48 PMTristan
08/30/2025, 1:52 AMjs()
. It is available in both jsMain
and wasmJsMain
but not commonJsMain
.
What am I missing?
applyDefaultHierarchyTemplate {
common {
group("commonJsMain") {
withJs()
withWasmJs()
}
}
}
val commonJsMain by creating {
dependsOn(commonMain.get())
dependencies {
implementation(libs.ktor.js)
implementation(kotlinWrappers.web)
implementation(kotlinWrappers.browser)
implementation(kotlinWrappers.js)
}
}
val jsMain by getting {
dependsOn(commonJsMain)
}
val wasmJsMain by getting {
dependsOn(commonJsMain)
}
Sargun Vohra
08/30/2025, 4:02 AMMario Andhika
09/01/2025, 7:44 AMTepes Lucian Victor
09/01/2025, 8:20 PMJsExport
from javascript - basically text input config with the wasm app as the preview as you edit the config. Haven't seen this example and when trying to `import { setConfig } from './composeApp.mjs';`in another js file i'm getting Failed to resolve module specifier "@js-joda/core". Relative references must start with either "/", "./", or "../".
TypeError: Failed to resolve module specifier "@js-joda/core". Relative references must start with either "/", "./", or "../".
. Thoughts?Tepes Lucian Victor
09/02/2025, 7:26 PMWebElementView
in a wasm app. Any samples that have this usecase?Himanshu Kumar
09/09/2025, 5:24 AMeygraber
09/10/2025, 10:43 AMbashor
09/11/2025, 1:19 PMeygraber
09/12/2025, 10:28 PMkotlinWasmUpgradePackageLock
.
Did something change with that? Most of my projects don't have that issue.phteven
09/13/2025, 6:11 PMMatt Nelson
09/15/2025, 8:53 AMwasmJs
keeps crying that I'm using Unit
. Is there any way around this?
@JsName("EventEmitter")
internal external interface JsEventEmitter {
fun on(
event: String,
listener: Function<Unit>,
): JsEventEmitter
}
Type 'Function<Unit>' cannot be used as value parameter type of JS interop function. Only external, primitive, string, and function types are supported in Kotlin/Wasm JS interop.
martmists
09/16/2025, 12:47 AMTypeError: _ref_Ym93c2Vy_.getParser is not a function
or NullPointerException: null
and I'm not sure how to fix it. Usually I'd add generateExternals = true
to npm() but it seems that's since been removed?Michael Paus
09/20/2025, 3:28 PMAdolfo Ochagavía
09/20/2025, 4:18 PM