Try to insert it at the top of your class:
@AndroidEntryPoint class MainActivity...
This happens because you need to inject the viewModel to show to android that there is an annotation type entry point:
AndroidEntryPoint