Having an issue with Angular 8 where I am encountering an error when trying to import the @ngmodule/material-carousel
module. The specific error message is:
Cannot find module '@ngmodule/material-carousel'
Package.json
"private": true,
"dependencies": {
"@angular/animations": "^8.2.14",
"@angular/cdk": "^8.2.3",
"@angular/common": "~8.2.14",
"@angular/compiler": "~8.2.14",
"@angular/core": "~8.2.14",
"@angular/flex-layout": "^8.0.0-beta.27",
"@angular/forms": "~8.2.14",
"@angular/material": "^8.2.3",
"@angular/platform-browser": "~8.2.14",
"@angular/platform-browser-dynamic": "~8.2.14",
"@angular/router": "~8.2.14",
"@ngmodule/material-carousel": "^0.6.0", <----
shared.module.ts
import { MatCarouselModule } from '@ngmodule/material-carousel';
@NgModule({
declarations: [
UserLayoutComponent
],
imports: [
MatCarouselModule
],
entryComponents: [AppConfirmComponent, AppLoaderComponent]