I am trying to target JS with Compose Web, but I'm...
# compose-web
s
I am trying to target JS with Compose Web, but I'm running into an odd issue:
Copy code
Uncaught (in promise) ReferenceError: FinalizationRegistry is not defined
    at _init_properties_Managed_js_kt__4ok5rc (webpack-internal:///./kotlin/skiko-kjs.js:23263)
    at register (webpack-internal:///./kotlin/skiko-kjs.js:23250)
    at DirectContext.Managed [as constructor] (webpack-internal:///./kotlin/skiko-kjs.js:23226)
    at RefCnt_init_$Init$ (webpack-internal:///./kotlin/skiko-kjs.js:23837)
    at new DirectContext (webpack-internal:///./kotlin/skiko-kjs.js:4349)
    at Companion_9.protoOf.makeGL_hvwr71_k$ (webpack-internal:///./kotlin/skiko-kjs.js:4331)
    at SkiaLayer$attachTo$1.CanvasRenderer (webpack-internal:///./kotlin/skiko-kjs.js:23989)
    at new SkiaLayer$attachTo$1 (webpack-internal:///./kotlin/skiko-kjs.js:24276)
    at SkiaLayer.protoOf.attachTo_4txz1o_k$ (webpack-internal:///./kotlin/skiko-kjs.js:24480)
    at SkiaLayer.protoOf.attachTo$default_j17uco_k$ (webpack-internal:///./kotlin/skiko-kjs.js:24497)
Notably, this happens also when I try jsBrowserDevelopmentRun in the compose-imageviewer repo. Any ideas?
I see this is an issue in Chromium on Linux, works fine on Firefox and Brave...
Okay, ignore it, works fine if I just use the right browser. Sigh, wasted hours on this... 😅
🦜 1