Andrei Beriukhov
Andrei Beriukhov
TODO: - [ ] restore Koin beta (with wasm support) [3.6.0-Alpha3](https://github.com/InsertKoinIO/koin/releases/tag/3.6.0-alpha3) - [ ] https://cashapp.github.io/sqldelight/2.1.0-SNAPSHOT/js_sqlite/ -- only js, not wasm, see https://github.com/cashapp/sqldelight/pull/4965 for updates - [ ] or https://github.com/dellisd/sqldelight-sqlite-wasm -...
Thank you. I have the only [one module](https://github.com/phansier/Coffeegram/blob/041caa114c3fa748929e7e1708e65d7335bd7746/cmp-common/src/wasmJsMain/kotlin/App.kt#L35 ) in this case. I don't get how to avoid `flatten` here.
Same with koin = "4.0.1" ``` ERROR dereferencing a null pointer RuntimeError: dereferencing a null pointer at .org.koin.core.module.flatten (http://localhost:8080/0fd67dcf45d5735a7127.wasm:wasm-function[20533]:0x4330cb) at .org.koin.core.Koin.loadModules (http://localhost:8080/0fd67dcf45d5735a7127.wasm:wasm-function[20335]:0x430483) at .org.koin.core.KoinApplication.loadModules (http://localhost:8080/0fd67dcf45d5735a7127.wasm:wasm-function[20351]:0x4307d8) at .org.koin.core.KoinApplication.modules (http://localhost:8080/0fd67dcf45d5735a7127.wasm:wasm-function[20348]:0x43079f) at .org.koin.core.KoinApplication.modules...
jfyi: issue still persists on 4.0.2 (in initial configuration) however I've fixed it by adding koin-compose dependency and changing configuration inside root Composable (as in [docs](https://insert-koin.io/docs/reference/koin-compose/compose/))
Hi. I've tried old setup (without koin.compose dependency and using `startKoin` instead of `org.koin.compose.KoinApplication`) with Koin 4.1.0-Beta8 and it still not working. You should see the corresponding commit above. jfyi:...
Yes sure. I've fixed it by adding koin-compose dependency and changing configuration from causing the issue `startKoin {modules(appModule)}` outside the root Composable to working `KoinApplication(application = {modules(appModule)})` inside the root...