function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Preeti AgarwalPreeti Agarwal 

Unable to verify trailhead challenge - Lightning Component Skills & Tools -> Learn the Process for Developing Lightning Components

I have successfully completed the trailhead challenge in my Dev org which is as follows:
Create a test harness app and component
Let's get set up for doing development right now. You'll create a test harness Lightning application, and add a simple component to it. Then you'll verify that you can see changes in the component.
  • Create a new Lightning component named myFirstComponent
  • Add this static text to the component: I solemnly swear I know JavaScript
  • Create a new Lightning application named harnessApp
  • Add myFirstComponent to the harness app with this markup: <c:myFirstComponent/>
  • Click the Preview button and verify your text is displayed
  • Make a change to the static text so it reads: I am proficient in JavaScript
  • Click the Preview button again and verify your change is displayed
When I try to verify the challenge, it displays as error as follows:
Challenge Not yet complete... here's what's wrong: 
The 'harnessApp' Lightning App does not contain ''.

I am unable to understand the error. Anyone who received similar kind of error and were able to proceed further, Please help me with this.
Best Answer chosen by Preeti Agarwal
Preeti AgarwalPreeti Agarwal
I had to delete my existing app and create a new one. It solved the issue. 

All Answers

Preeti AgarwalPreeti Agarwal
I had to delete my existing app and create a new one. It solved the issue. 
This was selected as the best answer
Alexis MASSON 6Alexis MASSON 6
Same here,
For the moment deleting and creating again won't resolve the issue for me ...

Any help would be appreciate,
Thanks !
Souleymane SalifouSouleymane Salifou
Having the same issue. Tried deleting and recreating myFirstComponent but it did not resolve the issue.
 
AjayRaj TAjayRaj T
I had to delete the controllers in 'harnessApp' and 'myFirstComponent' to resolve this issue.
Sofia Mercy 13Sofia Mercy 13
I only delete the existing 'harnessApp' and recreate, not the 'myFirstComponent'.
Challenge completed...
Emmanuel Bruno 8Emmanuel Bruno 8
Same here : deleted app and component and created again, this time from the developer console, and all got ok. The difference I guess is that VSCode creates all files while dev console creates only the .app and .cmp files. The trailhead test looks wrong anyway...
Krishna Rama 17Krishna Rama 17
Hi, My Challenge is completed..

1.Create a “Harness” App
2.Create Lightning Component Name is 'myFirstComponent'   
   
   <aura:component implements="flexipage:availableForRecordHome,force:hasRecordId" access="global" >
    I am proficient in JavaScript
</aura:component>
 
3.Create Lightning Component App Name is "harnessApp"

   <aura:application extends="force:slds" >
    <c:myFirstComponent/>
</aura:application>
4.Then After Preview 

 Challenge Successfully



Thanks,
Ramakrishna.
 
Willian Matheus 3Willian Matheus 3
Thanks @Emmanuel Bruno 8
I deleted the component and the application and redid them through the Developer Console, at first I had done with VScode