-
Notifications
You must be signed in to change notification settings - Fork 255
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
Angular build failes with Ivy renderer due to error in bugsnag #735
Comments
Hi @Lornot, I've built a simple application to test Bugsnag using the dependency versions which you have quoted in your report. However, I am currently unable to reproduce the error report that you're getting. I am successfully getting error reports for both handled and unhandled events. It seems that Ivy is an opt-in for this version of Angular, does this build work if you disable the Ivy renderer? I had enabled it in "angularCompilerOptions": {
"enableIvy": true
} Are you enabling Ivy in the same way? Do you get the same error on a newer version of Angular (9.x+) which supports Ivy out of the box? What are the steps leading up to this error being thrown? Could you also please let me know which version of the Bugsnag notifier are you using? $ npm view @bugsnag/js version
$ npm view @bugsnag/core version
$ npm view @bugsnag/plugin-angular version I can only find one reference to the code above in our |
Hi @xander-jones . It works with "enableIvy": false, but Ivy is the most expected feature of the new angular so we want to enable it and want it work with all our dependencies. |
Hi again @Lornot, I've managed to recreate the issue you were seeing. Thank you for your reproduction instructions. When building a fresh project directly with
The reason appears to be when we're selecting the plugin distribution to use, it's using I will raise this internally for our teams to take a look into. |
We have now released a fix for this in v7.3.3. |
Angular CLI: 8.3.24
Node: 12.15.0
OS: win32 x64
Angular: 8.2.14
... animations, common, compiler, compiler-cli, core, elements
... forms, platform-browser, platform-browser-dynamic
... platform-server, router
Package Version
@angular-devkit/architect 0.803.24
@angular-devkit/build-angular 0.803.24
@angular-devkit/build-optimizer 0.803.24
@angular-devkit/build-webpack 0.803.24
@angular-devkit/core 8.3.24
@angular-devkit/schematics 8.3.24
@angular/cdk 8.2.3
@angular/cli 8.3.24
@angular/material 8.2.3
@ngtools/webpack 8.3.24
@schematics/angular 8.3.24
@schematics/update 0.803.24
rxjs 6.5.4
typescript 3.5.2
webpack 4.39.2
The text was updated successfully, but these errors were encountered: