Thierry Kh
07/17/2025, 11:21 PM[object WebAssembly.Exception]
at handleError (<webpack://composeApp/../../node_modules/webpack-dev-server/client/overlay.js?:251:58|webpack://composeApp/../../node_modules/webpack-dev-server/client/overlay.js?:251:58>)
at eval (<webpack://composeApp/../../node_modules/webpack-dev-server/client/overlay.js?:274:7|webpack://composeApp/../../node_modules/webpack-dev-server/client/overlay.js?:274:7>)
I have no idea about what causes this so far.
The Android, JVM and JS apps work. I also use Voyager 1.1.0-beta03 and Multiplatform Settings 1.3.0.
It used to run fine on Kotlin 2.1.20, Compose 1.8.1, lifecycle-runtime-compose 2.9.0-alpha05 and Koin 4.0.2-RC3.Chrimaeon
07/18/2025, 6:11 AMMichael Paus
07/18/2025, 9:20 AMThierry Kh
07/18/2025, 9:37 AMThierry Kh
07/18/2025, 9:38 AMOleksandr Karpovich [JB]
07/18/2025, 10:36 AMThierry Kh
07/18/2025, 11:55 AMprivate fun getUserAgent(): String {
js("window.navigator.userAgent")
}
private fun getPlatformInfo(): String {
js("window.navigator.platform")
}
which caused this error :
JsException: Cannot read properties of undefined (reading 'length')
TypeError: Cannot read properties of undefined (reading 'length')Now i just need to figure out how to retrieve the info i want properly. ๐
Oleksandr Karpovich [JB]
07/18/2025, 11:59 AMprivate fun getUserAgent(): String = js("window.navigator.userAgent")
Thierry Kh
07/18/2025, 12:04 PMMichael Paus
07/18/2025, 2:22 PMOleksandr Karpovich [JB]
07/18/2025, 2:25 PM