Is anyone familiar with this issue?

"Failed to save undefined: markup://c:Calendar:7,111: Invalid attribute "name": Source "

I've followed the tutorial on this link Tutorial, when I try to save I get an error.

My sample components structure:

<aura:attribute name="greeting" type="String" default="Hello" />
<aura:attribute name="subject" type="String" default="World" />
<div style="box">
    <span class="greeting">{!v.greeting}</span>, {!v.subject}!

    <design:attribute name="subject" label="Subject" description="Name of the person you want to greet" />
    <design:attribute name="greeting" label="Greeting" type="picklist" datasource="Hello,Hola,Bienvenue,Shalom" />


  • Ahh, I already found it. Wrong structure. design:component must be in design section. – Marvz73 Sep 11 '15 at 6:31

Ahh, I already found it. Wrong structure of component. design:component must be in design section under component properties Component, Controller, Helper, Style, etc.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.