Skip to content

Unexpected value 'MdPaginatorModule [..] Please add a @NgModule annotation  #6826

@summerchill

Description

@summerchill

Bug, feature request, or proposal:

Bug

What is the expected behavior?

It should build

What is the current behavior?

I get an error:

Error: Unexpected value 'MdPaginatorModule in /node_modules/@angular/material/typings/index.d.ts' imported by the module 'AppModule in /src/app/app.module.ts'. Please add a @NgModule annotation.

What are the steps to reproduce?

import { MdPaginatorModule } from '@angular/material';

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

"@angular/cdk": "^2.0.0-beta.10",
"@angular/common": "4.1.0",
"@angular/material": "^2.0.0-beta.10",

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs: clarificationThe issue does not contain enough information for the team to determine if it is a real bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions