-
-
Notifications
You must be signed in to change notification settings - Fork 145
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Kotlin JS - IrLinkageError - Function 'Navigator' can not be called: No function found for symbol #315
Comments
The reason is: the voyager have to use the compose multiplatform version |
Hi I have the same issue, but using Project: https://github.com/HLCaptain/butler/tree/64d0413de58ea3c91d3827bdfceea38a18ac1853 |
Same here, it's not working on Compose Multiplatform v1.6.0-rc02 |
Same here v1.6.0-rc03 |
@DevSrSouza Please can you help us with this? |
Should be fixed on https://github.com/adrielcafe/voyager/releases/tag/1.1.0-alpha03 We have update Compose KMP and add WASM support. |
JetBrains/compose-multiplatform#4361 still cannot build |
Just getting back at my sample project and it works. Here is the toml updated: [versions]
jbCompose = "1.6.0"
kotlin = "1.9.22"
voyager = "1.1.0-alpha03"
[libraries]
voyager-navigator = { module = "cafe.adriel.voyager:voyager-navigator", version.ref = "voyager" }
[plugins]
jetbrainsCompose = { id = "org.jetbrains.compose", version.ref = "jbCompose" }
kotlinMultiplatform = { id = "org.jetbrains.kotlin.multiplatform", version.ref = "kotlin" } Thanks for the work on voyager! |
Hello,
I am trying to work with Voyager on a Compose Web project, but I am getting an issue at runtime.
Here is my
gradle.build.kts
:plugins { alias(libs.plugins.kotlinMultiplatform) alias(libs.plugins.jetbrainsCompose) } kotlin { js(IR) { browser() binaries.executable() } sourceSets { jsMain.dependencies { implementation(kotlin.compose.html.core) implementation(kotlin.compose.runtimeSaveable) implementation(libs.voyager.navigator) } } } compose.experimental { web.application {} }
And my
main.kt
file:Here is a reproducer based on a https://kmp.jetbrains.com template.
I checked your sample project
multiplatform
, that works, but was getting the same issue by copy / pasting your code inside my project. Not sure of what's going on here.The text was updated successfully, but these errors were encountered: