Hi, I’m new to Ionic 2 and I’m building a simple app in Ionic 2 RC1.
Everything was working well until I added ion-buttons to my navbar in home.html:
<ion-navbar color="primary"> <ion-title> Goods Issue </ion-title> <ion-buttons end> <button ion-button icon-right (click)="gotoHelp()"> Help <ion-icon name="settings"></ion-icon> </button> </ion-buttons> </ion-navbar>
This builds and works fine with ionic serve, but ionic build results in this error:
[15:59:21] Error: Error at C:/Projects/ionic/goodsissue/.tmp/pages/home/home.ngfactory.ts:112:29
[15:59:21] Module ‘’*’’ has no exported member ‘Wrapper_ToolbarItem’.
[15:59:21] ngc failed
[15:59:21] ionic-app-script task: “build”
[15:59:21] Error: Error
I’m unable to build the app for production to deploy on the device.
Is this a bug, or am I doing something wrong?
I’m using ionic CLI v2.1.4