angular-view-updates-tracer icon indicating copy to clipboard operation
angular-view-updates-tracer copied to clipboard

Angular 8 usage - Cannot read property 'ApplicationRef' of undefined

Open Alexei000 opened this issue 5 years ago • 2 comments

I have enabled this extension with an Angular 8 project, but fails to initialize:

zone-evergreen.js:172 Uncaught TypeError: Cannot read property 'ApplicationRef' of undefined at Object.t.toggleTracing (tracer.js:1) at Object.toggle (tracer.js:1) at tracer.js:1 at ZoneDelegate.invokeTask (zone-evergreen.js:391) at Zone.runTask (zone-evergreen.js:168) at ZoneTask.invokeTask [as invoke] (zone-evergreen.js:465) at invokeTask (zone-evergreen.js:1603) at globalZoneAwareCallback (zone-evergreen.js:1640)

I am using Angular 8.2:

"@angular/animations": "^8.2.0",
"@angular/cdk": "^8.1.2",
"@angular/common": "^8.2.0",
"@angular/compiler": "^8.2.0",
"@angular/core": "^8.2.0",
"@angular/forms": "^8.2.0",
"@angular/material": "^8.1.2",
"@angular/material-moment-adapter": "^8.1.2",
"@angular/platform-browser": "^8.2.0",
"@angular/platform-browser-dynamic": "^8.2.0",
"@angular/router": "^8.2.0",

Alexei000 avatar Dec 14 '19 08:12 Alexei000

same problem in Angular 9

sotnikoff avatar Feb 10 '20 16:02 sotnikoff

You need to disable Ivy in order to use this extension (only works with ViewEngine).

marcalj avatar Mar 10 '20 10:03 marcalj