Closed SHELA closed 7 years ago
@SHELA May I know which version of Ionic, Angular and ionic2-calendar are you using? Did you also follow Note for Ionic Build/Run command to add more lines in your main.prod.ts?
@twinssbc ionic2-calendar - last from github Ionic 2 Angular 2 when i add to main.prod.ts: Unused import: 'CalendarComponent' Unused import: 'MonthViewComponent' Unused import: 'WeekViewComponent' Unused import: 'DayViewComponent' but build success, but when i can't open page where calendar. seems that some error
@SHELA Did you try to run it on IOS? I just found there's some localisation issue on IOS device as below. https://github.com/angular/angular/issues/3333 I added the fix and published a new version, 0.0.12. Could you try it? You also need to add Intl into the dependency. Thanks.
i havae same issue any solution?
@omhybrid May I know which version of Ionic, Angular and ionic2-calendar are you using? Did you also follow Note for Ionic Build/Run command to add more lines in your main.prod.ts?
i solve this thanks @twinssbc
@twinssbc 怎么解决啊
@Gtanxingwen May I know which version of Ionic, Angular and ionic2-calendar are you using? Did you also follow Note for Ionic Build/Run command to add more lines in your main.prod.ts?
@twinssbc ionic-calendar 0.0.13
@Gtanxingwen what's your Angular version? Also did you add more lines in your main.prod.ts file?
@Gtanxingwen You need to add below lines to main.prod.ts
import { CalendarComponent } from 'ionic2-calendar/calendar';
import { MonthViewComponent } from 'ionic2-calendar/monthview';
import { WeekViewComponent } from 'ionic2-calendar/weekview';
import { DayViewComponent } from 'ionic2-calendar/dayview';
Hi. When i try emulate or build:
[23:40:22] Error: Error at /Users/vlad/apps/eveses3/.tmp/pages/full/full.ngfactory.ts:149:36 [23:40:22] Module ''*'' has no exported member 'Wrapper_CalendarComponent'. [23:40:22] ngc failed [23:40:22] ionic-app-script task: "build" [23:40:22] Error: Error
npm ERR! Darwin 16.0.0 npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "run" "build" npm ERR! node v6.9.1 npm ERR! npm v3.10.8 npm ERR! code ELIFECYCLE npm ERR! ionic-hello-world@ build:
ionic-app-scripts build
npm ERR! Exit status 1