Open mpetuska opened 1 year ago
@mpetuska Do you use some dependencies like routing-compose?
// build.gradle.kts
plugins {
id("org.jetbrains.kotlin.js") version "1.8.0"
id("org.jetbrains.compose") version "1.3.0-rc2"
}
kotlin {
js(IR) {
browser {
binaries.executable()
}
}
}
dependencies {
implementation(compose.web.core)
implementation("app.softwork:routing-compose:0.2.10") // uses Kotlin 1.7.20 and Compose 1.2.1
}
With this dependency, my build fails too.
Ah, indeed I do! Let me try to remove it.
Looks like a binary incompatible change/problem: I published a new release of routing-compose
0.2.11 using Kotlin 1.8.0 and Compose 1.3.0-rc02 and the build does not fail anymore...
Yeah, the routing-compose was an issue. Thanks for being so quick to push an update. I can confirm that the error is gone after upgrading.
I won't close it because now every dependency has to be updated. Maybe there is a option to fix this bug.
I am encountering this issue , had to update all my dependencies that I made to kotlin 1.8 and latest compose version and it worked
Error went away for me when updating to app.softwork:routing-compose:0.2.11
I run into the same error message. But this is the problem: https://youtrack.jetbrains.com/issue/KT-43500
I have been using a compileOnly
dependency. Just leaving this comment here, because this ticket pops up when searching for the error message...
Please check the following ticket on YouTrack for follow-ups to this issue. GitHub issues will be closed in the coming weeks.
EDIT: Looks like there was some breaking binary compatability change here. The issue was cause by a dependency compiled with CfW 1.2.1
When trying out kotlin 1.8.0 and CfW 1.3.0-rc2 on my various projects, one of them keeps failing with the following error (the project is KMP with js target only)
Oddly enough, this is the only project of multiple similar ones I've tried 1.3.0-rc2 with.