Your data. Anywhere you go.

New Relic for iOS or Android


Download on the App Store    Android App on Google play


New Relic Insights App for iOS


Download on the App Store


Learn more

Close icon

Angular2 + newrelic browser agent is not working sometimes

angular

#1

I was following the section “Enable with copy/paste” on following doc, https://docs.newrelic.com/docs/browser/new-relic-browser/installation/install-new-relic-browser-agent,
Installed the newrelic.js on the app, sometimes the page is not working.
got following message,


Maximum Call Stack Size exceeded for Angular application
#2

Hi @zhyinjun,

I ran into the same problem. It seems to be a bug in Zone.js. See: https://github.com/angular/zone.js/issues/886

Downgrading zone.js to 0.8.16 seems to fix the issue until they release the next version.


Sept. 29, 2017 Post of the Week! NRQL, Angular/Browser, Radar and Baseline Alerts!
#3

Thanks for jumping in and answering @zhyinjun 's question, @samih! :star2:

Let us know if you have any other questions!


#4

Thanks, @samih, after applied the zone.js@0.8.16, the issue is gone.


#5

@samih @zhyinjun Just wanted to let you know that Zone.js released version 0.8.18 that includes the fix for this issue, with a lot of customers already reporting success. Time to go from a downgrade to an upgrade! :slight_smile: