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.
请先登录再写评论。
What IDE and Angular versions do you work with?
Must be https://youtrack.jetbrains.com/issue/WEB-50675 that was fixed in 2021.1.2
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
Same problem here with Goland version 2023.1 angular 16.0.0 and node 18.15.0
We are not aware of such issues in 2023.1
If the issue persists after caches invalidation, please share a sample project that reproduces it within a support ticket.