December 15, 2020 - Fix for Error (import { MatInputModule } from '@angular/material' showing error)

PHOTO EMBED

Tue Dec 15 2020 17:13:49 GMT+0000 (Coordinated Universal Time)

Saved by @dedicatedking #nodejs,angular

import { MatDialogModule } from "@angular/material";
 Save has now changed to

import { MatDialogModule } from "@angular/material/dialog";

You have to reference the actual module inside the material folder:
v
content_copyCOPY

ACTUAL ERROR: Error: node_modules/@angular/material/input/input-module.d.ts:8:22 - error NG6002: Appears in the NgModule.imports of AppModule, but could not be resolved to an NgModule class. This likely means that the library (@angular/material/input) which declares MatInputModule has not been processed correctly by ngcc, or is not compatible with Angular Ivy. Check if a newer version of the library is available, and update if so. Also consider checking with the library's authors to see if the library is expected to be compatible with Ivy. 8 export declare class MatInputModule { ~~~~~~~~~~~~~~ import { MatInputModule } from '@angular/material' showing error SOLUTION: https://stackoverflow.com/questions/58594311/angular-material-index-d-ts-is-not-a-module You

https://stackoverflow.com/questions/58594311/angular-material-index-d-ts-is-not-a-module