ng-profiler-devtools icon indicating copy to clipboard operation
ng-profiler-devtools copied to clipboard

Fails on angular 9.1

Open roll314 opened this issue 5 years ago • 0 comments

Hi! First of all - thank you for the greateest tool. Now days im using angular 9.1 and thinking to move to 10.x. The tool works perfetcly with 8.x version but on 9.1 i got

zone-evergreen.js:171 Uncaught TypeError: Cannot read property 'length' of undefined
    at Object.n.monkeyPatchRootNode (devtool.ts:134)
    at index.ts:16
    at ZoneDelegate.invokeTask (zone-evergreen.js:399)
    at Zone.runTask (zone-evergreen.js:167)
    at invokeTask (zone-evergreen.js:480)
    at ZoneTask.invoke (zone-evergreen.js:469)
    at timer (zone-evergreen.js:2552)

head of stack leads to line:

for (let i = 0; i < rootContext.components.length; i++) {

and rootContext does not contain components property just get funciton.

Possibly i do smth wrong? If no - are there any plans to update the tool to support next versions?

thanks in advance

roll314 avatar Oct 28 '20 16:10 roll314