Getting error on ng serve related to NgxPagination & NgxDatepicker
Error: src/app/pages/dashboard/dashboard.module.ts:31:5 - error NG6002: 'NgxDaterangepickerMd' does not appear to be an NgModule class.
31 NgxDaterangepickerMd,
node_modules/ngx-daterangepicker-material/daterangepicker.module.d.ts:3:22
3 export declare class NgxDaterangepickerMd {
This likely means that the library (ngx-daterangepicker-material) which declares NgxDaterangepickerMd 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.
What version of Bun is running?
1.1.3+2615dc742
What platform is your computer?
Linux 6.5.0-26-generic x86_64 x86_64
What steps can reproduce the bug?
Angular App (Angular 14)
Dependencies
ngx-datepicker-material: ^4.0.1 ngx-pagination:^5.0.0
Steps
Note
when i do yarn install or npm install and then ng serve it outputs this at start of building , whereas doesn't when i do bun install and ng serve
⠙ Generating browser application bundles (phase: setup)...Processing legacy "View Engine" libraries:
ngx-daterangepicker-material [es2015/esm2015] (https://github.com/fetrarij/ngx-daterangepicker-material.git)
ngx-pagination [module/esm5] (https://github.com/michaelbromley/ngx-pagination)
What is the expected behavior?
App should build successfullly
What do you see instead?
Getting error on ng serve related to NgxPagination & NgxDatepicker
Error: src/app/pages/dashboard/dashboard.module.ts:31:5 - error NG6002: 'NgxDaterangepickerMd' does not appear to be an NgModule class.
31 NgxDaterangepickerMd,
Additional information
No response