Join Slack
Powered by
HI, i'm trying to run wasm app but i'm stuck with ...
# compose-web
m
Michał Konkel
11/13/2023, 8:52 PM
HI, i'm trying to run wasm app but i'm stuck with an error:
Copy code
Module not found: Error: Can't resolve 'skia'
r
reline
11/14/2023, 8:08 AM
Make sure to add the webpack config and skia loader, see the wasm example.
https://github.com/Kotlin/kotlin-wasm-examples/tree/main/compose-jetsnack/web/webpack.config.d
https://github.com/Kotlin/kotlin-wasm-examples/blob/main/compose-jetsnack/web/src/wasmJsMain/resources/load.mjs
m
Michał Konkel
11/14/2023, 10:25 AM
i've did it. Propably i messed up something with te overall config. I've used the project creator from jBrains and then amnually added wasm module
Michał Konkel
11/14/2023, 9:36 PM
I've solved it - as I said in first msg. I messed the webpack.config location...
👍 1
40
Views
Open in Slack
Previous
Next