DanielYKPan / date-time-picker

Angular Date Time Picker (Responsive Design)
https://daniel-projects.firebaseapp.com/owlng/date-time-picker
MIT License
564 stars 358 forks source link

Compatibility with Angular Material 8 #599

Open mrvini opened 5 years ago

mrvini commented 5 years ago

Any ETA when it'll be compatible with Angular version 8?

I am using the ng-pick-datetime package version 7.0.0 and would like to be able to upgrade to the latest version of angular material, 8.0.1.

However when trying to do so, I am observing the error

Package "ng-pick-datetime" has an incompatible peer dependency to "@angular/cdk" (requires "^7.0.0", would install "8.0.1").

Incompatible peer dependencies found. Peer dependency warnings when installing dependencies means that those dependencies might not work correctly together. You can use the '--force' option to ignore incompatible peer dependencies and instead address these warnings later.

justjcool commented 5 years ago

also, error with ng-pick-datetime-moment: angular 8 --prod build

ERROR in ..\ng-pick-datetime-moment\moment-adapter\moment-date-time-adapter.class.ts(46,2): Error during template compile of 'MomentDateTimeAdapter' Function calls are not supported in decorators but 'ɵmakeDecorator' was called in 'Injectable' 'Injectable' calls 'ɵmakeDecorator'.