Guilherme Delgado
10/04/2022, 9:03 PM> Task :desktopApp:run
Exception in thread "AWT-EventQueue-0" java.lang.IllegalStateException: Module with the Main dispatcher is missing. Add dependency providing the Main dispatcher, e.g. 'kotlinx-coroutines-android' and ensure it has the same version as 'kotlinx-coroutines-core'
...
Suppressed: kotlinx.coroutines.DiagnosticCoroutineContextException: [StandaloneCoroutine{Cancelling}@71435f82, Dispatchers.Main[missing]]
Exception in thread "main" org.koin.core.error.InstanceCreationException: Could not create instance for [Factory:'com.expressus.domain.viewModels.ExpressusViewModel']
at org.koin.core.instance.InstanceFactory.create(InstanceFactory.kt:61)
at org.koin.core.instance.FactoryInstanceFactory.get(FactoryInstanceFactory.kt:38)
at org.koin.core.registry.InstanceRegistry.resolveInstance$koin_core(InstanceRegistry.kt:111)
at org.koin.core.scope.Scope.resolveValue(Scope.kt:237)
at org.koin.core.scope.Scope.resolveInstance(Scope.kt:224)
at org.koin.core.scope.Scope.get(Scope.kt:205)
But it only throws in desktop. More in 🧵Guilherme Delgado
10/04/2022, 9:05 PMarnaud.giuliani
10/05/2022, 7:18 AMarnaud.giuliani
10/05/2022, 7:18 AMarnaud.giuliani
10/05/2022, 7:18 AMGuilherme Delgado
10/05/2022, 11:46 AMGuilherme Delgado
10/05/2022, 11:46 AMGuilherme Delgado
10/05/2022, 11:49 AMGuilherme Delgado
10/05/2022, 12:00 PMarnaud.giuliani
10/05/2022, 2:41 PM