WASM: Could not find io.ktor:ktor-client-js-wasm-js:2.3.8
cryptrr opened this issue · comments
cryptrr commented
> Could not resolve all dependencies for configuration ':composeApp:wasmJsNpmAggregated'.
> Could not find io.ktor:ktor-client-js-wasm-js:2.3.8.
Searched in the following locations:
- https://dl.google.com/dl/android/maven2/io/ktor/ktor-client-js-wasm-js/2.3.8/ktor-client-js-wasm-js-2.3.8.pom
- https://repo.maven.apache.org/maven2/io/ktor/ktor-client-js-wasm-js/2.3.8/ktor-client-js-wasm-js-2.3.8.pom
- https://maven.pkg.jetbrains.space/public/p/compose/dev/io/ktor/ktor-client-js-wasm-js/2.3.8/ktor-client-js-wasm-js-2.3.8.pom
- https://maven.pkg.jetbrains.space/kotlin/p/wasm/experimental/io/ktor/ktor-client-js-wasm-js/2.3.8/ktor-client-js-wasm-js-2.3.8.pom
Required by:
project :composeApp > io.github.qdsfdhvh:image-loader:1.7.8 > io.github.qdsfdhvh:image-loader-wasm-js:1.7.8 > io.github.qdsfdhvh:image-loader-extension-ktor-network:1.7.8 > io.github.qdsfdhvh:image-loader-extension-ktor-network-wasm-js:1.7.8
Seiko commented
Sorry for not replying until now, looks like I had a problem with the version of wasm configured when I publish it, for now you can try to fix the version of ktor under the wasm target like this, I'll try to fix this later.
Sunil Kumar commented
Hi @qdsfdhvh , i was trying to apply this workaround in 1.8.0 version, but its showing this as unresolved in build.gradle:
applyKtorWasmWorkaround
Seiko commented
Hi @sunildhiman90 , here's my test code, before ktor 3.0.0
it seems to be the only way to use it in wasmJs
target.