Having the following issue when trying to run wasmJs (ex: desktop works) target:
Module "constraintlayout-compose-multiplatform:compose" has a reference to symbol org.jetbrains.compose.resources/painterResource|painterResource(kotlin.String;androidx.compose.runtime.Composer?;kotlin.Int){}[0]. Neither the module itself nor its dependencies contain such declaration.
This could happen if the required dependency is missing in the project. Or if there is a dependency of "constraintlayout-compose-multiplatform:compose" that has a different version in the project than the version that "constraintlayout-compose-multiplatform:compose" was initially compiled with. Please check that the project configuration is correct and has consistent versions of all required dependencies.
The list of "constraintlayout-compose-multiplatform:compose" dependencies that may lead to conflicts:
1. "kotlin" (a library with unknown version)
2. "App:shared-ui" (a library with unknown version)
3. "components.resources:library" (a library with unknown version)
4. "constraintlayout-compose-multiplatform:compose" (a dependency of the library with unknown version or versions mismatch: "constraintlayout-compose-multiplatform:compose")
5. "org.jetbrains.compose.animation:animation" (a library with unknown version)
6. "org.jetbrains.compose.animation:animation-core" (a library with unknown version)
7. "org.jetbrains.compose.annotation-internal:annotation" (a library with unknown version)
8. "org.jetbrains.compose.collection-internal:collection" (a library with unknown version)
9. "org.jetbrains.compose.foundation:foundation" (a library with unknown version)
10. "org.jetbrains.compose.foundation:foundation-layout" (a library with unknown version)
11. "org.jetbrains.compose.material3:material3" (a library with unknown version)
12. "org.jetbrains.compose.material:material-icons-core" (a library with unknown version)
13. "org.jetbrains.compose.material:material-ripple" (a library with unknown version)
14. "org.jetbrains.compose.runtime:runtime" (a library with unknown version)
15. "org.jetbrains.compose.runtime:runtime-saveable" (a library with unknown version)
16. "org.jetbrains.compose.ui:ui" (a library with unknown version)
17. "org.jetbrains.compose.ui:ui-geometry" (a library with unknown version)
18. "org.jetbrains.compose.ui:ui-graphics" (a library with unknown version)
19. "org.jetbrains.compose.ui:ui-text" (a library with unknown version)
20. "org.jetbrains.compose.ui:ui-unit" (a library with unknown version)
21. "org.jetbrains.compose.ui:ui-util" (a library with unknown version)
22. "org.jetbrains.skiko:skiko" (a library with unknown version)
23. "org.jetbrains.kotlinx:atomicfu" (a library with unknown version)
24. "org.jetbrains.kotlinx:kotlinx-coroutines-core" (a library with unknown version)
25. "org.jetbrains.kotlinx:kotlinx-datetime" (a library with unknown version)
26. "org.jetbrains.kotlinx:kotlinx-serialization-core" (a library with unknown version)
Using version 0.3.0-alpha01 and tested with compose multiplatform 1.6.0-beta01, 1.6.0-beta02, 1.6.0-rc01 and 1.6.0-rc02.
Having the following issue when trying to run
wasmJs
(ex:desktop
works) target:Using version
0.3.0-alpha01
and tested with compose multiplatform1.6.0-beta01
,1.6.0-beta02
,1.6.0-rc01
and1.6.0-rc02
.