You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to build my ionic cordova app and when I do ionic cordova build android --prod --release it shows following errors.
(I'm using ionic5)
Error: src/app/pages/calendar/calendar.page.html:35:34 - error TS2339: Property 'eventSource' does not exist on type 'CalendarPage'.
35 <calendar [eventSource]="eventSource" [calendarMode]="calendar.mode" [showEventDetail]="false"
~~~~~~~~~~~
src/app/pages/calendar/calendar.page.ts:10:16
10 templateUrl: './calendar.page.html',
~~~~~~~~~~~~~~~~~~~~~~
Error occurs in the template of component CalendarPage.
Error: src/app/pages/calendar/calendar.page.html:35:48 - error TS2322: Type 'string' is not assignable to type 'CalendarMode'.
35 <calendar [eventSource]="eventSource" [calendarMode]="calendar.mode" [showEventDetail]="false"
~~~~~~~~~~~~
src/app/pages/calendar/calendar.page.ts:10:16
10 templateUrl: './calendar.page.html',
~~~~~~~~~~~~~~~~~~~~~~
Error occurs in the template of component CalendarPage.
Error: src/app/pages/calendar/calendar.page.html:37:57 - error TS2322: Type 'string' is not assignable to type 'number'.
37 (onTitleChanged)="onViewTitleChanged($event)" startingDayWeek="1" [monthviewDisplayEventTemplate]="template"
~~~~~~~~~~~~~~~
src/app/pages/calendar/calendar.page.ts:10:16
10 templateUrl: './calendar.page.html',
~~~~~~~~~~~~~~~~~~~~~~
Error occurs in the template of component CalendarPage.
Error: src/app/pages/diet-plans/diet-plans.page.html:36:28 - error TS2339: Property 'eventSource' does not exist on type 'DietPlansPage'.
36 <calendar [eventSource]="eventSource" [calendarMode]="calendar.mode" [currentDate]="calendar.currentDate"
~~~~~~~~~~~
src/app/pages/diet-plans/diet-plans.page.ts:11:16
11 templateUrl: './diet-plans.page.html',
~~~~~~~~~~~~~~~~~~~~~~~~
Error occurs in the template of component DietPlansPage.
Error: src/app/pages/diet-plans/diet-plans.page.html:36:42 - error TS2322: Type 'string' is not assignable to type 'CalendarMode'.
36 <calendar [eventSource]="eventSource" [calendarMode]="calendar.mode" [currentDate]="calendar.currentDate"
~~~~~~~~~~~~
src/app/pages/diet-plans/diet-plans.page.ts:11:16
11 templateUrl: './diet-plans.page.html',
~~~~~~~~~~~~~~~~~~~~~~~~
Error occurs in the template of component DietPlansPage.
Error: src/app/pages/diet-plans/diet-plans.page.html:37:95 - error TS2322: Type 'string' is not assignable to type 'number'.
37 (onEventSelected)="onEventSelected($event)" (onTitleChanged)="onViewTitleChanged($event)" startingDayWeek="1"
~~~~~~~~~~~~~~~
src/app/pages/diet-plans/diet-plans.page.ts:11:16
11 templateUrl: './diet-plans.page.html',
~~~~~~~~~~~~~~~~~~~~~~~~
Error occurs in the template of component DietPlansPage.
[ERROR] An error occurred while running subprocess ng.
I'm trying to build my ionic cordova app and when I do
ionic cordova build android --prod --release
it shows following errors.(I'm using ionic5)
Screenshot 2022-01-26 at 20 44 44
The text was updated successfully, but these errors were encountered: