Skip to content

Cannot find module @angular/material-moment-adapter #12887

Closed
@Hypenate

Description

@Hypenate

Bug:

An error is thrown on this line:
import {MAT_MOMENT_DATE_FORMATS, MomentDateAdapter} from '@angular/material-moment-adapter';

The error is:

Cannot find module '@angular/material-moment-adapter';'

What is the expected behavior?

The module is found

What is the current behavior?

The module is not found

What are the steps to reproduce?

StackBlitz example for the website

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

Angular: 6.0.7
angular/material: 6.4.2
Typescript: 3.0.1

Is there anything else we should know?

Another question, where is MatMomentDateModule located?

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