2021-01-13 20:34:57 -05:00
@name Invalid Attribute
@category compiler
2021-01-20 00:17:25 -05:00
@videoUrl https://www.youtube.com/embed/wfLkB3RsSJM
2021-01-13 20:34:57 -05:00
@shortDescription Unknown attribute or input
@description
An attribute or property cannot be resolved during compilation.
This error arises when attempting to bind to a property that does not exist. Any property binding must correspond to either:
* A native property on the HTML element, or
* An `@Input()` property of a component or directive applied to the element.
The runtime error for this is `NG0304: '${tagName}' is not a known element: …’` .
@debugging
2021-02-18 11:42:45 -05:00
Look at documentation for the specific [binding syntax ](guide/binding-syntax ) used. This is usually a typo or incorrect import. There may also be a missing direction with property selector ‘ name’ or missing input.