Adrian K
10/25/2023, 6:44 AMcompose-imageviewer
from kotlin-wasm-examples
I'm getting java.lang.IllegalStateException: e: Could not find "/home/me/kt/kotlin-wasm-examples/compose-imageviewer/shared/build/kotlinTransformedMetadataLibraries/jsWasmMain/org.jetbrains.skiko-skiko-0.0.7.80-wasm01-jsWasmMain-mF0BDQ.klib" in [/home/me/.local/share/kotlin/daemon]
but if I check this path I can see that file, with the same name... any ideas?Oleksandr Karpovich [JB]
10/25/2023, 9:33 AMAdrian K
10/25/2023, 9:37 AMkotlin.version=1.9.20-RC
I am using latest commit, I'm using Ubuntu if that's importantOleksandr Karpovich [JB]
10/25/2023, 9:38 AM./gradlew wasmJsBrowserRun
what gradle task do you run?
Do you simply run or doing something else?Adrian K
10/25/2023, 9:40 AMbuild
from imageviewer
project (directly from intellij). all other projects are building fine, but that shared
one fails in compileJsWasmMainKotlinMetadata
because of that one fileOleksandr Karpovich [JB]
10/25/2023, 9:41 AMproject.tasks.whenTaskAdded {
if (name == "compileJsWasmMainKotlinMetadata") {
enabled = false
}
}
Adrian K
10/25/2023, 9:43 AMwasmJsBrowserRun
task and it works fine. The problem is that none browser actually works. In firefox I'm getting
wasm validation error: at offset 406: bad type
and in chrome
WebAssembly.instantiateStreaming(): invalid value type 0x71 @+405
CompileError: WebAssembly.instantiateStreaming(): invalid value type 0x71 @+405
Oleksandr Karpovich [JB]
10/25/2023, 9:44 AMAdrian K
10/25/2023, 9:47 AMOleksandr Karpovich [JB]
10/25/2023, 9:48 AMAdrian K
10/25/2023, 9:50 AMOleksandr Karpovich [JB]
10/25/2023, 9:51 AMAdrian K
10/25/2023, 9:52 AM