suresh
08/11/2024, 10:02 PMsuresh
08/11/2024, 10:02 PMUncaught runtime errors:
×
ERROR
Function 'ComposeViewport' can not be called: No function found for symbol 'androidx.compose.ui.window/ComposeViewport|ComposeViewport(org.w3c.dom.Element;kotlin.Function0<kotlin.Unit>){}[0]'
Error
at kotlin.captureStackTrace (<http://localhost:8080/cmp.js:2:302708>)
at <http://localhost:8080/kotlin-mpp-playground-compose-cmp-wasm-js.wasm:wasm-function[943]:0x4ad97>
suresh
08/11/2024, 10:03 PMsuresh
08/11/2024, 10:03 PMKirill Grouchnikov
08/11/2024, 11:01 PMsuresh
08/11/2024, 11:09 PMOleksandr Karpovich [JB]
08/12/2024, 8:27 AMsuresh
08/12/2024, 10:22 AMit looks like the compose compiler plugin was not applied to the module@Oleksandr Karpovich [JB] thanks..that was the issue..somehow i had
targetKotlinPlatforms = setOf(KotlinPlatformType.jvm)
in the build config. Removed it and is working fine now with 2.0.20-RC