[solved]Error with *ngFor


#1

ahh. it was a syntax error.

I update ionic yesterday and, i started to get this kind of errors

Unhandled Promise rejection: Template parse errors:
Can't bind to 'ngForIn' since it isn't a known property of 'ion-card'.
1. If 'ion-card' is an Angular component and it has 'ngForIn' input, then verify that it is part of this module.
2. If 'ion-card' is a Web Component then add "CUSTOM_ELEMENTS_SCHEMA" to the '@NgModule.schema' of this component to suppress this message.

ion-card & ion-list with *ngFor produce this errors.
I re-installed ionic but still getting this error.

Please help me .
Thank you.


#2

@dpark1985 In your app.module.ts do you import IonicModule.forRoot(MyApp)? Do you have any modules aside from the AppModule? If so, try to import IonicModule (whithout forRoot) in it.