Currently utilizing Angular 5 and attempting to create a tree view that resembles a table layout.
https://stackblitz.com/edit/angular-hhkrr1?file=main.ts
Encountering errors while trying to import:
import {NestedTreeControl} from '@angular/cdk/tree'; {MatTreeNestedDataSource} from '@angular/material/tree';
The specific errors received are:
ERROR in ./src/app/app.module.ts Module not found: Error: Can't resolve '@angular/cdk/tree' in 'XXX' ERROR in ./src/app/AgileBOM/agile-bom.tabs.component.ts Module not found: Error: Can't resolve '@angular/cdk/tree' in 'XXX' ERROR in ./src/app/AgileBOM/agile-bom.tabs.component.ts Module not found: Error: Can't resolve '@angular/material/tree' in 'XXX'
Attempts to resolve the issue by running "npm install" and installing angular material & cdk have been unsuccessful.
Seeking advice on what may be causing this problem.