Could not initialize class org.jetbrains.kotlin.gradle.targets.js.ir.KotlinJsIrTargetPreset$WhenMappings
I try to upgrade my fairly complex multiplatform project to Kotlin 1.6.21 (and Compose/MP 1.2.0 alpha 😡) but my hair falls out, I always get different errors and failures 😞
Norbi
06/02/2022, 6:57 PM
Or this:
Copy code
FAILURE: Build failed with an exception.
* What went wrong:
wasm
t
tapchicoma
06/03/2022, 8:31 AM
could you provide the full stacktrace?
n
Norbi
06/03/2022, 3:36 PM
In case of the "wasm" problem there was no stacktrace, only the above message was displayed.
The problem has been solved somehow - unfortunatelly I don't know, which step solved which problem I ran into...
t
tapchicoma
06/03/2022, 3:51 PM
Afaik
wasm
target was added in 1.6.20, so, probably, you had wrong classpath issue. Though hard to tell without repro.