Skip to content

bug(documentation): https://material.angular.io/components examples are not working #23270

@norangLemon

Description

@norangLemon

Reproduction

Use StackBlitz to reproduce your issue:

Steps to reproduce:

  1. Go https://stackblitz.com/angular/dmagjomybbg?file=src%2Fapp%2Finput-clearable-example.ts
    Screenshot
    )

I've tried some others too, but they also failed.
It could be a problem of stackblitz, but not sure.

Expected Behavior

What behavior were you expecting to see?

Example view

Actual Behavior

What behavior did you actually see?

Error log:

Error in turbo_modules/@angular/material@12.1.4/table/table-module.d.ts (8:22)
Appears in the NgModule.exports of DemoMaterialModule, but could not be resolved to an NgModule, Component, Directive, or Pipe class.

This likely means that the dependency (@angular/material/table) which declares MatTableModule has not been processed correctly by ngcc.

Environment

That of the material example.

Metadata

Metadata

Assignees

Labels

P2The issue is important to a large percentage of users, with a workaroundarea: material.angular.iodocsThis issue is related to documentation

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions