Skip to content

Error: dashboard_card_1 is not defined #2

Description

@mikegoodstadt

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions