Skip to main content Join us at TDX in San Francisco or on Salesforce+ on March 5-6 for the Developer Conference for the AI Agent Era. Register now.

#Trailhead Challenges2,346 discussing

Hands-on challenges are the “secret sauce” of Trailhead. Before searching for solutions to superbadge challenges, review the Salesforce Certification Program Agreement and Policies.

 whats going on is im stuck on Deploy Lightning Web Component Files

 

and getting a errror and trying to fix it

 

Challenge not yet complete in Playful Badger Playground

We can't find a Lightning Web Component named 'bikeCard'. 

 

#Trailhead Challenges

6 answers
  1. Jan 10, 2:58 AM

    Hi ,

     

    This is going to sound silly, but what worked for me was closing & re-opening the Org.

     

    https://trailhead.salesforce.com/trailblazer-community/feed/0D54V00007Uv8cqSAB

     

    I was hitting this same issue. The problem was that trailhead was looking for the component in my dev hub org, rather than in my scratch org. Of course, the previous module in the trail (Set Up Your Lightning Web Components Developer Tools) just taught us how to deploy to a scratch org. I couldn't figure out how to tell the activity checker to look in the scratch org rather than the dev hub org. I got past the issue by using "SFDX: Authorize and Org" to re-auth to my playground/dev hub org, and then repeating the steps in the lesson to deploy there.

     

    https://trailhead.salesforce.com/trailblazer-community/feed/0D54S00000Fvd6t

0/9000

Hello, 

 

I am following the trailhead "Deploy Lightning Web Component Files" and created a new LWC called bikeCard. I followed all the steps till the end but I am not able to see the LWC content after deployment and activation of the component. It renders as a blank page.

 

Screenshot 2025-01-02 at 12.55.32 PM.png

 

Screenshot 2025-01-02 at 12.55.50 PM.png

 

Screenshot 2025-01-02 at 12.56.41 PM.png

 

Any suggestions? 

 

#Trailhead Challenges

Screenshot 2025-01-02 at 12.59.38 PM.png

0/9000

I am working on the "Add Styles and Data to a Lightning Web Component" in this Trailhead. I downloaded the file to my computer and dragged it into the LWC of my bikeCard project in VS Code. After deploying to my org, I can only see the custom component "Bike Card" in Lightning App Builder and not the Selector. However, Selector is visible in VS Code. When I try to deploy it again, I get this error message: ENOTDIR: not a directory, scandir '\force-app\main\default\lwc\selector.html'. I've been stuck on this for a few weeks. Please help. 

screenshot of Lightning App Builder.png

 

screenshot of VS Code Bike Card files.png

 

 

#Trailhead Challenges

0/9000