I'm getting an error when setting an Attribute with either custom or standard object in Lightning Component.
<aura:attribute name="acc" type="Account" access="global" />
Below is the error message,
The error disappears as soon as removing the Attributes. Any idea what's wrong here? Thanks...!