title: NoBeanDefFoundException while initializing viewmodel using sharedViewModel
body: <p>I am trying to initialize my viewModel in Fragment by using <code>sharedViewModel()</code> method, but got <code>NoBeanDefFoundException</code>. Before I initialized it by using <code>activityViewModel()</code> method, but because of new argument in viewmodel constructor and due to the scope, I decided to use exactly <code>sharedViewModel()</code>, which cause the exception in my application. I have no idea, why my Koin can not create instance for my ViewModel, cause almost all code is the same as in previous application, where I used same methods and where all staff is working ok. I will leave here some code below and my exception.</p>
  <p>How I started Koin framework</p>
  <pre><code>startKoin {
          androidContext(this@App)
          // declare modules
          modules(
              ...
              viewModels, // this is my koin module for viewmodels
              ...
          )
      }
  </code></pre>
  <p>My Koin module</p>
  <pre><code>val viewModels = module {
      viewModel { RegistrationViewModel(get()) } 
      ...
  }
  </code></pre>
  <p>My ViewModule itself and the fragment that is use it</p>
  <pre><code>class RegistrationViewModel(
     private val receiveInviteUseCase: ReceiveInviteUseCase
  ): BaseViewModel() {
  
  // fragment
  
  class RegistrationFragment: AuthBaseFragment&lt;RegistrationFragmentBinding&gt;(RegistrationFragmentBinding::inflate) {
  
      private val vm: RegistrationViewModel by sharedViewModel()
  }
  </code></pre>