I started porting one of my projects over to wasm ...
# compose-web
e
I started porting one of my projects over to wasm following the jetsnack and imageviewer samples and I'm running into an issue that (hopefully) is solved by https://github.com/JetBrains/compose-multiplatform-core/pull/540, but that's not available in
1.4.0-dev-wasm06
. How can I find out what version it is available in? Also if I try to use a newer version than
wasm06
I get errors about not being able to find dev versions of Kotlin 1.9. Do I need to add a repo to Gradle to resolve them? The project is https://github.com/eygraber/compose-color-picker/tree/wasm and the error I'm getting is:
Copy code
Uncaught RangeError: Invalid typed array length: 346921
    at new Int32Array (<anonymous>)
    at org.khronos.webgl.Int32Array_$external_fun_102426324 (compose-color-picker-webApp-wasm.uninstantiated.mjs:256:106)
    at <com.eygraber:webApp>.org.khronos.webgl.Int32Array_$external_fun__externalAdapter (org.khronos.webgl.kt:1094:87)
    at <com.eygraber:webApp>.androidx.compose.ui.graphics.putBytesInto (JsImageAsset.js.kt:27:19)
    at <com.eygraber:webApp>.androidx.compose.ui.graphics.SkiaBackedImageBitmap.readPixels (SkiaImageAsset.skiko.kt:118:15)
    at <com.eygraber:webApp>.androidx.compose.ui.graphics.toPixelMap (ImageBitmap.kt:129:5)
    at <com.eygraber:webApp>.androidx.compose.ui.graphics.toPixelMap$default (ImageBitmap.kt:120:1)
    at <com.eygraber:webApp>.com.eygraber.compose.colorpicker.ColorWheel$pixelMap$delegate$lambda.invoke (ColorWheel.kt:68:11)
    at <com.eygraber:webApp>.com.eygraber.compose.colorpicker.ColorWheel$pixelMap$delegate$lambda.invoke (ColorWheel.kt:68:11)
    at <com.eygraber:webApp>.kotlin.UnsafeLazyImpl.<get-value> (Lazy.kt:81:26)