scttcper / ng2-adsense

Angular Adsense Component

Home Page:https://ng2-adsense.xmplaylist.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Angular 9 - Build with Ivy Causing Weird Error

gnanakeethan opened this issue · comments

The following issue appears.

177:7 - error TS8002: Can't bind to 'adSlot' since it isn't a known property of 'ng-adsense'.
1. If 'adSlot' is an Angular directive, then add 'CommonModule' to the '@NgModule.imports' of this component.
2. To allow any property add 'NO_ERRORS_SCHEMA' to the '@NgModule.schemas' of this component.

I am using following toolkit.

Angular CLI: 9.0.0-rc.4
Node: 10.17.0
OS: darwin x64

Angular: 9.0.0-rc.4
... animations, cdk, cli, common, compiler, compiler-cli, core
... forms, language-service, material, platform-browser
... platform-browser-dynamic, platform-server, router
... service-worker
Ivy Workspace: Yes

I am unsure why this causing an error like this. The error does not appear if using Ivy is disabled.

Misreported issue.