Closed bitspittle closed 1 year ago
Seems like this will get fixed (probably) when I can upgrade Kotlin to 1.6.20
A workaround for now is to add the following to your app's build.gradle.kts file:
rootProject.plugins.withType<org.jetbrains.kotlin.gradle.targets.js.nodejs.NodeJsRootPlugin> {
rootProject.the<org.jetbrains.kotlin.gradle.targets.js.nodejs.NodeJsRootExtension>().nodeVersion = "16.0.0"
}
Old version of compose compiler corresponds to old NodeJs with is not available for arm64
Old version of compose compiler corresponds to old NodeJs with is not available for arm64
Yeah it's not great. I'm still waiting on web compose to update so we can use newer versions. Did you try the workaround in https://github.com/varabyte/kobweb/issues/140#issuecomment-1073294231 ?
Note that Kobweb is now updated so latest (0.10.0+) targets later versions of Kotlin and Compose.
I'm going to mark this as closed, because it should have been fixed long ago; however, if anyone is still seeing this with latest, let me know!
I've heard one report that Mac + M1 fails with an error like so:
Full pastebin attached: Kobweb startup failure.txt