I'm trying to import CdkStepperModule to properly use cdk-steps and cdk-stepper to build a stepper. The app build is successful, but in console, this error occurs on trying to use the component.
ng-admin.min.js:54419 ERROR NullInjectorError: R3InjectorError(AppModule)[CdkStepper -> CdkStepper]:
NullInjectorError: No provider for CdkStepper!
I have tried the following:
- Importing
CdkStepperModulein the module wherecdk-stepsis being used - Adding
CdkStepperModulein app module@NgModuleimports
Both of these did not work.