Im getting compilation errors on the js target `....
# ktor
a
Im getting compilation errors on the js target
./gradlew compileKotlinJs
gives me
Unresolved reference 'io'
Copy code
import io.ktor.client.HttpClient
import io.ktor.client.request.header
import <http://io.ktor.client.request.post|io.ktor.client.request.post>
dependencies in 🧵
Copy code
val commonMain by getting {
            dependencies {
                val ktorVersion = "3.1.2"
                implementation("io.ktor:ktor-client-core:$ktorVersion")
                implementation("io.ktor:ktor-client-content-negotiation:$ktorVersion")
                implementation("io.ktor:ktor-serialization-kotlinx-json:$ktorVersion")

                implementation("org.jetbrains.kotlinx:kotlinx-serialization-json:1.8.1")
            }
        }
Updating the version of kotlin to
2.1.20
seems like it did something and fixed it. this is definitely NOT about the version of kotlin though, because changing it back to 2.0.0 still works. 🤷
c
Do you use Dokkatoo or Dokka v1?
a
dokka yes