Hi, I got this error when trying to use viewmodel ...
# compose-web
s
Hi, I got this error when trying to use viewmodel in jetpack compose for web:
Copy code
[object WebAssembly.Exception]
    at handleError (webpack-internal:///../../node_modules/webpack-dev-server/client/overlay.js:252:58)
    at eval (webpack-internal:///../../node_modules/webpack-dev-server/client/overlay.js:271:7)
a
Hi. I got a similar problem. For me the answer https://kotlinlang.slack.com/archives/CDFP59223/p1712173328554999?thread_ts=1712161787.183029&cid=CDFP59223 helped With this info you could understand which exect code/dependency causes the problem. And in my case there were couple of them: 1. too old material3 library got transitively - solved by including it explicitly with last version 2. problem in coroutines flow, which is unsolved for me yet