I had the same problem with ReactiveFormsModule
I use VScode, I just restarted the IDE error was solved