1
votes

After reviewing everything between my own project config, and that of this sample, I am unable to know why I get the error:

Error in turbo_modules/@angular/[email protected]/table/table-module.d.ts (8:22)

Appears in the NgModule.exports of MaterialModule, 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.

Image from Stackblitz:

enter image description here

1

1 Answers

6
votes

I had read something about Ivy being an issue, and while I was scouting around the Settings area of my Stackblitz project I noticed this checkbox labelled "Ivy". Although it was unchecked, I checked it. After a refresh I still got the error. I unchecked it, and refreshed. Error gone!

enter image description here