I faced an issue inside my project, *ngFor doesn't work inside the modal component, and works anywhere else. I import BrowserModule in the app component, and commonModule elsewhere. There is no spelling mistakes. I am sure the declarative is clearly declared.
The error is:
Can't bind to 'ngForOf' since it isn't a known property of 'li'
Any help?