Hi everyone,
Since yesterday i get this error when i try to build or run with --prod
flag.
Anyone have an idea ?
[13:48:44] typescript error
'ion-icon' is not a known element: 1. If 'ion-icon' is an Angular component, then verify that it is part of
this module. 2. If 'ion-icon' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the
'@NgModule.schemas' of this component to suppress this message. (" <ion-navbar color="secondary"> <button
ion-button (click)="dismiss()"> [ERROR ->]<ion-icon name="md-arrow-back"></ion-icon> </button>
<ion-title>Device List</ion-title> ")
[13:48:44] typescript error
'ion-title' is not a known element: 1. If 'ion-title' is an Angular component, then verify that it is part
of this module. 2. If 'ion-title' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the
'@NgModule.schemas' of this component to suppress this message. (" <ion-icon
name="md-arrow-back"></ion-icon> </button> [ERROR ->]<ion-title>Device List</ion-title> </ion-navbar>
</ion-header> ")
[13:48:44] typescript error
'ion-navbar' is not a known element: 1. If 'ion-navbar' is an Angular component, then verify that it is part
of this module. 2. If 'ion-navbar' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the
'@NgModule.schemas' of this component to suppress this message. ("<ion-header> [ERROR ->]<ion-navbar
color="secondary"> <button ion-button (click)="dismiss()"> <ion-icon name="md-a")
[13:48:44] typescript error
'ion-header' is not a known element: 1. If 'ion-header' is an Angular component, then verify that it is part
of this module. 2. If 'ion-header' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the
'@NgModule.schemas' of this component to suppress this message. ("[ERROR ->]<ion-header> <ion-navbar
color="secondary"> <button ion-button (click)="dismiss()"> ")
[13:48:44] typescript error
'ion-col' is not a known element: 1. If 'ion-col' is an Angular component, then verify that it is part of
this module. 2. If 'ion-col' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the '@NgModule.schemas'
of this component to suppress this message. (" <ion-grid> <ion-row> [ERROR ->]<ion-col col-3> <b>{{
item.address }}</b> </ion-col> ")
[13:48:44] typescript error
'ion-col' is not a known element: 1. If 'ion-col' is an Angular component, then verify that it is part of
this module. 2. If 'ion-col' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the '@NgModule.schemas'
of this component to suppress this message. (" <b>{{ item.address }}</b> </ion-col> [ERROR ->]<ion-col
col-6> <b>{{ item.label }}</b> </ion-col> ")
[13:48:44] typescript error
'ion-col' is not a known element: 1. If 'ion-col' is an Angular component, then verify that it is part of
this module. 2. If 'ion-col' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the '@NgModule.schemas'
of this component to suppress this message. (" <b>{{ item.label }}</b> </ion-col> [ERROR ->]<ion-col col-3
text-right> <b>{{ item.productLabel }}</b> </ion-col> ")
[13:48:44] typescript error
'ion-row' is not a known element: 1. If 'ion-row' is an Angular component, then verify that it is part of
this module. 2. If 'ion-row' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the '@NgModule.schemas'
of this component to suppress this message. (" <button ion-item> <ion-grid> [ERROR ->]<ion-row> <ion-col
col-3> <b>{{ item.address }}</b> ")
[13:48:44] typescript error
'ion-grid' is not a known element: 1. If 'ion-grid' is an Angular component, then verify that it is part of
this module. 2. If 'ion-grid' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the
'@NgModule.schemas' of this component to suppress this message. (" <ion-list *ngFor="let item of itemList">
<button ion-item> [ERROR ->]<ion-grid> <ion-row> <ion-col col-3> ")
[13:48:44] typescript error
'ion-list' is not a known element: 1. If 'ion-list' is an Angular component, then verify that it is part of
this module. 2. If 'ion-list' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the
'@NgModule.schemas' of this component to suppress this message. (" <ion-content padding> [ERROR ->]<ion-list
*ngFor="let item of itemList"> <button ion-item> <ion-grid> ")
[13:48:44] typescript error
Can't bind to 'ngForOf' since it isn't a known property of 'ion-list'. 1. If 'ion-list' is an Angular
component and it has 'ngForOf' input, then verify that it is part of this module. 2. If 'ion-list' is a Web
Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the '@NgModule.schemas' of this component to suppress this
message. 3. To allow any property add 'NO_ERRORS_SCHEMA' to the '@NgModule.schemas' of this component. ("
<ion-content padding> <ion-list [ERROR ->]*ngFor="let item of itemList"> <button ion-item> <ion-grid> ")
[13:48:44] typescript error
Property binding ngForOf not used by any directive on an embedded template. Make sure that the property name
is spelled correctly and all directives are listed in the "@NgModule.declarations". (" <ion-content padding>
[ERROR ->]<ion-list *ngFor="let item of itemList"> <button ion-item> <ion-grid> ")
[13:48:44] typescript error
'ion-content' is not a known element: 1. If 'ion-content' is an Angular component, then verify that it is
part of this module. 2. If 'ion-content' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the
'@NgModule.schemas' of this component to suppress this message. (" </ion-header> [ERROR ->]<ion-content
padding> <ion-list *ngFor="let item of itemList"> <button ion-item> ")
Error: The Angular AoT build failed. See the issues above
at C:\Users\guillaume\ionic\i\node_modules\@ionic\app-scripts\dist\aot\aot-compiler.js:237:55
at step (C:\Users\guillaume\ionic\i\node_modules\@ionic\app-scripts\dist\aot\aot-compiler.js:32:23)
at Object.next (C:\Users\guillaume\ionic\i\node_modules\@ionic\app-scripts\dist\aot\aot-compiler.js:13:53)
at fulfilled (C:\Users\guillaume\ionic\i\node_modules\@ionic\app-scripts\dist\aot\aot-compiler.js:4:58)
Thanks