kekeh / angular-mydatepicker

Angular datepicker and date range picker :date:
https://kekeh.github.io/angular-mydatepicker/
MIT License
1 stars 11 forks source link

AngularMyDatePickerModule has not been processed correctly by ngcc, or is not compatible with Angular Ivy. Check if a newer version of the library is available, and update if so. Also consider checking with the library's authors to see if the library is expected to be compatible with Ivy. #52

Open anupmasinha opened 4 years ago

anupmasinha commented 4 years ago

AngularMyDatePickerModule has not been processed correctly by ngcc, or is not compatible with Angular Ivy. Check if a newer version of the library is available, and update if so. Also consider checking with the library's authors to see if the library is expected to be compatible with Ivy.

kekeh commented 4 years ago

Hi @anupmasinha

I think in Angular version 10 Ivy is enabled by default. Here: https://github.com/kekeh/angular-mydatepicker/tree/gh-pages is Angular 10 application. It builds and run without problem.

You can build production version for example: build --prod --outputHashing=none You can test same application here: https://kekeh.github.io/angular-mydatepicker/

Does above information answer to your question?

ehsantoucerkany commented 3 years ago

Im late to the party, im assuming @anupmasinha has "enableIvy": false and is running ngcc in the postinstall script. Im running into that issue with the setup mentioned above.

`Compiling @obfuscated/obfuscated-ng : fesm2015 as esm2015 Error: Failed to compile entry-point datepicker-ng (fesm2015 as esm2015) due to compilation errors: ../packages/datepicker/node_modules/angular-mydatepicker/lib/angular-mydatepicker.module.d.ts:1:22 - error NG6002: Appears in the NgModule.imports of DatepickerModule, but could not be resolved to an NgModule class.

This likely means that the library (angular-mydatepicker) which declares AngularMyDatePickerModule has not been processed correctly by ngcc, or is not compatible with Angular Ivy. Check if a newer version of the library is available, and update if so. Also consider checking with the library's authors to see if the library is expected to be compatible with Ivy.

1 export declare class AngularMyDatePickerModule {


`