angular-bootstrap-datetimepicker icon indicating copy to clipboard operation
angular-bootstrap-datetimepicker copied to clipboard

error NG6002: 'DlDateTimeDateModule' does not appear to be an NgModule class.

Open danieljoserm opened this issue 1 year ago • 4 comments

What is the expected behavior?

After installing the library and adding it to the project on angular 16 it should run.

What is the current behavior?

When I try "ng serve" to start testing my website locally I would get the following error:

Error: src/app/app.module.ts:65:5 - error NG6002: 'DlDateTimeDateModule' does not appear to be an NgModule class. node_modules/angular-bootstrap-datetimepicker/core/dl-date-time-core.module.d.ts:17:22 17 export declare class DlDateTimeDateModule { ~~~~~~~~~~~~~~~~~~~~ This likely means that the library (angular-bootstrap-datetimepicker) which declares DlDateTimeDateModule 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.

What are the steps to reproduce?

Use the template to create a new angular app on angular 16. then follow the steps to install angular-boostrap-datepicker https://www.npmjs.com/package/angular-bootstrap-datetimepicker Then run "ng serve"

Which versions of angular-bootstrap-datetimepicker, OS, TypeScript, browsers are affected?

4.0.2

danieljoserm avatar Aug 16 '23 05:08 danieljoserm

+1

Brahma-Github avatar Feb 28 '24 15:02 Brahma-Github

+1

cedmart1decath avatar Feb 29 '24 13:02 cedmart1decath

+1

iamandreadompe avatar Apr 11 '24 07:04 iamandreadompe

+1

iamandreadompe avatar Apr 12 '24 07:04 iamandreadompe