This is fixed by:
a) adding schemas: [ CUSTOM_ELEMENTS_SCHEMA ]
to every component or
b) adding
import { NgModule, CUSTOM_ELEMENTS_SCHEMA } from '@angular/core';
and
schemas: [
CUSTOM_ELEMENTS_SCHEMA
],
to your module.
More Related Contents:
- Testing – Can’t resolve all parameters for (ClassName)
- Angular 2 Testing – Async function call – when to use
- Error: supportsScrollBehavior is not declared configurable
- What is the difference between fakeAsync and async in Angular testing?
- I get “Http failure response for (unknown url): 0 Unknown Error” instead of actual error message in Angular
- Can’t bind to ‘ng-forOf’ since it isn’t a known native property [duplicate]
- Use component from another module
- How to use `trackBy` with `ngFor`
- Angular: Cannot find a differ supporting object ‘[object Object]’
- Angular and Typescript: Can’t find names – Error: cannot find name
- How to make an angular module to ignore http interceptor added in a core module
- Angular 2 restrict input field
- How to share data between components using a service properly?
- How to import Angular Material in project?
- Is it possible to use a pipe in the code? [duplicate]
- Angular 2 Form “Cannot find control with path”
- Angular 4 Pipe Filter
- Array of formGroup within mat-table for each row
- How to cancel/unsubscribe all pending HTTP requests in Angular 4+
- Multiple layouts for different pages in Angular 2
- angular4 httpclient csrf does not send x-xsrf-token
- How do I get the absolute path of the current page in Angular 2?
- Behaviour subject initial value null?
- Change Detection issue — Why is this changing when it’s the same object reference with On Push
- How to reset form validation on submission of the form in ANGULAR 2
- Angular 4 Lazy loading with named router-outlet not working
- What is the lifecycle of a service in Angular 5
- Conditionally apply click event in Angular 4
- Firestore Error: The query requires an index
- Do we need to unsubscribe from observable that completes/errors-out?