oven-sh / bun

Incredibly fast JavaScript runtime, bundler, test runner, and package manager – all in one
https://bun.sh
Other
73.14k stars 2.68k forks source link

Handling Dependency while bun install #10105

Open darshan260802 opened 5 months ago

darshan260802 commented 5 months ago

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

  1. bun install
  2. ng serve

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:

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,


  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.

Additional information

No response

github-actions[bot] commented 1 month ago

This issue is stale and may be closed due to inactivity. If you're still running into this, please leave a comment.