Home > database >  Angular project doesn't know click, button, ngIf/ngFor
Angular project doesn't know click, button, ngIf/ngFor

Time:06-14

I use angular v13 and node js v12.22 in my project. This problem suddenly come, I just close several hour and open it again after that I found this similar errors in all components. My project doesn't know 'click', 'button', 'ngFor/ngIf/etc ..' like the ss, anyone know what happen with this? And how to solve it? Because I already try to create new project and still the same

CodePudding user response:

It's pretty hard to tell whats wrong from only that screenshot. The best would be to post an example Git repo so we can check out your complete code.

But the first thing that comes to my mind is that you maybe forgot to import { CommonModule } from '@angular/common';

  • Related