ERROR in projects/nvn-website/src/app/features/builds/builds/builds.component.html:2:5 - error NG8001: 'gallery' is not a known element:
1. If 'gallery' is an Angular component, then verify that it is part of this module.
2. To allow any element add 'NO_ERRORS_SCHEMA' to the '@NgModule.schemas' of this component.
2 <gallery>
~~~~~~~~~
projects/nvn-website/src/app/features/builds/builds/builds.component.ts:10:16
10 templateUrl: './builds.component.html',
~~~~~~~~~~~~~~~~~~~~~~~~~
Error occurs in the template of component BuildsComponent.
I've imported the module in core.module.ts. What am I missing?
If I import Angular2ImageGalleryModule in the component I want to use it on, I get the error on #79:
ERROR Error: "Uncaught (in promise): Error: BrowserModule has already been loaded. If you need access to common directives such as NgIf and NgFor from a lazy loaded module, import CommonModule instead.
This is the full error:
I've imported the module in
core.module.ts
. What am I missing?If I import
Angular2ImageGalleryModule
in the component I want to use it on, I get the error on #79:I'm using this: https://github.com/tomastrajan/angular-ngrx-material-starter as the base for my project. Dependencies: