Error: src/app/app.component.html:1:1 - error NG8001: 'app-grid-groupby-custom-sample' is not a known element:
1. If 'app-grid-groupby-custom-sample' is an Angular component, then verify that it is part of this module.
2. If 'app-grid-groupby-custom-sample' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the '@NgModule.schemas' of this component to suppress this message.
1 <app-grid-groupby-custom-sample></app-grid-groupby-custom-sample>
Expected result
To compile.
Attachments
The GridGroupByCustomSampleComponent is imported with wrong path in app.module.ts:
import { GridGroupBySampleComponent } from "./grid/grid-groupby-sample/grid-groupby-sample.component";
should be:
import { GridGroupByCustomSampleComponent } from "./grid/grid-groupby-custom-sample/grid-groupby-custom-sample.component";
Description
On opening the sample in StackBlitz, it does not compile and outputs an error.
Steps to reproduce
Result
Expected result
To compile.
Attachments
The
GridGroupByCustomSampleComponent
is imported with wrong path inapp.module.ts
:import { GridGroupBySampleComponent } from "./grid/grid-groupby-sample/grid-groupby-sample.component";
should be:import { GridGroupByCustomSampleComponent } from "./grid/grid-groupby-custom-sample/grid-groupby-custom-sample.component";