This error also appears when you use var instead of val : the underline marks the word by.
private var viewModel: SomeViewModel by viewModel()