This error occurred when you open an item and do not close it. this error appears in this example:
<ion-list *ngSwitchCase="'facilities'"> <ion-item *ngFor="let facility of facilities"> <ion-icon name="facility.Icon" item-start></ion-icon> {{facility.Name}} <ion-icon color="red" name="rose" item-end></ion-icon> </ion-item> <ion-list>
As you can see, I am not closing the <ion-list> element (should be </ion-list> )
Be careful:
If you use any properties of an element with your own values, since the parser cannot process them, the element will be opened and this error will occur ("" in the above example).
Iman bahrampour
source share