• Basheer Khan
  • NEWBIE
  • 0 Points
  • Member since 2021

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 0
    Replies
Hello all, I'm following up an institute's class videos for salesforce lightning. The institute's lecturer showed a simple hello lightning component and called that component in lightning app. I followed the same but it is showing an error as
 " Field Integrity Exception - Failed to save FirstApp.app: Invalid component 'c:FirstComponent.cmp': Source"
 
The Component Code with name FirstComponent:
<aura:component >
  Hello Lightning
 </aura:component>
 
I'm trying to call the component in the Application with name FirstApp as
 <aura:application > 
    <c:FirstComponent.cmp />
 </aura:application>
 
This is the exact code I'm writing from the class but why its not working ? The class videos are from 2020.