Closed hugoblanc closed 5 years ago
@hugoblanc he shoud upgrade this part, but you can pass this error installing rxjs-compat
npm i rxjs-compat --save
This is not a problem with ionic v4, the real problem with ionic 4 is that this library is based on ionic 3 and you when try to serve or build the project shows these errors:
[ng] ERROR in node_modules/ionic2-calendar/dayview.d.ts(1,24): error TS2307: Cannot find module 'ionic-angular'. [ng] node_modules/ionic2-calendar/monthview.d.ts(2,24): error TS2307: Cannot find module 'ionic-angular'. [ng] node_modules/ionic2-calendar/weekview.d.ts(1,24): error TS2307: Cannot find module 'ionic-angular'.
This is the main reason that it's not compatible with ionic v4.
@twinssbc , is planned to upgrade from ionic-angular
(3) to @ionic/angular
(4)?
@marticrespi Yes, I will upgrade the dependency.
@twinssbc perfect! Will you wait to oficial release, right?
Many thanks!
@marticrespi I'm waiting for the official release.
Me also waiting , can i get simple steps for installing this on Ionic4?
@twinssbc Hi please updating this issue. when it will be compatible with v4?
@twinssbc Could you please give us an update on this? Really waiting for it
I have released 0.5.1 version to support Ionic v4. Feel free to have a try.
@twinssbc Works great now, thank you! Love this calendar since ionic1
Due to the new version of RxJS, the way to import Observable is not correct anymore:
import { Observable } from "rxjs/Observable";
should beimport { Observable } from "rxjs";
I don't know for the rest of the plugin