Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting the following errors when running Angular CLI 'ng build' command in Angular 18.2.13 and using @bugsnag/plugin-angular 8.1.2 #2277

Open
pavloldev6 opened this issue Dec 12, 2024 · 3 comments
Labels
bug Confirmed bug

Comments

@pavloldev6
Copy link

         Getting the following errors when running 'ng build' command in Angular 18.2.13 and @bugsnag/plugin-angular 8.1.2

When I downgrade the latter to 8.0.0 issue disappears. Also, it is reproducible after removing node_modules and package-lock.json and running npm install which is always the case in a CI/CD server.

Application bundle generation failed. [27.934 seconds]

✘ [ERROR] TS2694: Namespace '"node_modules/@angular/core/index"' has no exported member 'ɵɵFactoryDef'. [plugin angular-compiler]

    node_modules/@bugsnag/plugin-angular/dist/esm2015/index.d.ts:8:20:
      8 │     static ɵfac: i0.ɵɵFactoryDef<BugsnagErrorHandler, never>;
        ╵                    ~~~~~~~~~~


✘ [ERROR] TS2724: '"node_modules/@angular/core/index"' has no exported member named 'ɵɵInjectableDef'. Did you mean 'ɵgetInjectableDef'? [plugin angular-compiler]

    node_modules/@bugsnag/plugin-angular/dist/esm2015/index.d.ts:9:21:
      9 │     static ɵprov: i0.ɵɵInjectableDef<BugsnagErrorHandler>;
        ╵                     ~~~~~~~~~~~~~

Originally posted by @pavloldev6 in #2144 (comment)

@hannah-smartbear
Copy link

Hi @pavloldev6,
Thanks for raising this.
Our engineers are going to implement a fix, and we will be sure to let you know here once the fix is released.

@hannah-smartbear hannah-smartbear added the bug Confirmed bug label Dec 13, 2024
@adroitandroid
Copy link

adroitandroid commented Jan 2, 2025

Hi @hannah-smartbear , any ETA for the fix?

@mountpoint
Copy link

mountpoint commented Jan 6, 2025

the same problem. angular v19.0.5, @bugsnag/plugin-angular v8.1.2

when will this be fixed approximately?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Confirmed bug
Projects
None yet
Development

No branches or pull requests

4 participants