Skip to content

Error: "Cannot read property 'forRoot' of undefined" after installing version 2.0.0-alpha.11-1 #2123

@aveniri

Description

@aveniri

I uninstalled the older version @angular/material@2.0.0-alpha.10 as instructed on the release notes then installed the new one and it doesn't seem to load it since on @NgModule({imports: [ ... ]})
I switched back to 2.0.0-alpha.10 and it works fine.

Which versions of Angular, Material, OS, browsers are affected?

angular: 2.2.3,
material: 2.0.0-alpha.11-1,
windows 7

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions