angular-dashboard icon indicating copy to clipboard operation
angular-dashboard copied to clipboard

Error: dashboard_card_1 is not defined

Open mikegoodstadt opened this issue 6 years ago • 0 comments

Hi Nima! Firstly, thanks for the great tutorial and clear explanations! However when I tried to build this it fails to spawn the cards because, I think, it seems not to find the reference for the injector.

When building a full demo of the code "as is" there it gives the error: ERROR ReferenceError: dashboard_card_1 is not defined at new DashboardUsersComponent (dashboard-users.component.ts:43) https://stackblitz.com/edit/nima200-angular-dashboard

So I also have created a simplified StackBlitz (i.e. the first half of the Medium tutorial): https://stackblitz.com/edit/nima200-angular-dashboard-basic This rules out any router or Material components issues (e.g if using v6.0.0). However it give the same error :(

Could this be simply an async issue? If you have a moment, any suggestions to resolve this would be appreciated :) Saludos, Mike

mikegoodstadt avatar Aug 14 '18 08:08 mikegoodstadt