Can't bind to [(ngModule)] since it is not provided by any applicable directives

So i getting this error in the IDE(however i have FormsModule imported), on running localhost everything works fine, it don't show any error. The same error i get on ngClass. Also it doesn't give a hint on autocomplite, deleting node_modules helps, but after ng serve problem returns.

3 comments
Comment actions Permalink

What IDE and Angular versions do you work with?

1
Comment actions Permalink

Elena Pogorelova I'm using WebStorm, Angular 12.2.10 and Node 15.8.0.
Just updated to a newer version and looks like problem fixed

0

Please sign in to leave a comment.