rangle / angular-devtools

Moved to the Angular organization.
https://github.com/angular/angular/tree/master/devtools
255 stars 18 forks source link

Components pane is empty #809

Closed hinok closed 3 years ago

hinok commented 3 years ago

Angular DevTools version (required): 1.0.0

Angular version (required): 11.2.11

Link to a minimal stackblitz reproduction (strongly encouraged): N/A

Description of issue:

Screenshot 2021-05-21 at 11 57 30

Steps to reproduce:

  1. Open page

  2. Open dev tools

Additional details:

Components pane is empty but when I use inspector

Screenshot 2021-05-21 at 12 04 44

I can see small "tooltips" with components names like below

Screenshot 2021-05-21 at 12 07 14

guidopontet commented 3 years ago

Same here

Angular DevTools version (required): 1.0.0

Angular version (required): 11.0.2
nikhilgrag commented 3 years ago

@hinok @guidopontet It was happening for me as well. Check your chrome console, if you are getting a warning Unbale to find ID of undefined when you try to inspect some element, then you can refer to https://github.com/rangle/angular-devtools/issues/774

mgechev commented 3 years ago

@hinok @guidopontet would you check updating to v12? We introduced better integration with framework which should fix the issue. Let me know if this resolves the problem.

To make sure we fix it for older versions too, I'd really appreciate a minimal reproduction where we can investigage!

mgechev commented 3 years ago

@hinok @nikhilgrag @guidopontet could you share a minimal reproduction so we can investigate and fix for older versions?

nikhilgrag commented 3 years ago

@mgechev https://github.com/nikhilgrag/angular-dev-tools-old-version-error It will start working once you remove ViewContainerRef from app.component.ts

guidopontet commented 3 years ago

@mgechev start working ok on angular 12 update. ¡Thanks!

mgechev commented 3 years ago

Closing it as duplicate of https://github.com/rangle/angular-devtools/issues/773.