Skip to main content

Module: https://trailhead.salesforce.com/content/learn/modules/lightning-web-components-basics/push-lightning-web-component-files

 

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

Reason: no changes in my playground. Changes is in another playground, that I don't know how to add here. Problem comes from related (previous) module: https://trailhead.salesforce.com/content/learn/projects/quick-start-salesforce-dx

When I do "sfdx auth:web:login -d -a DevHub" I auth under my current org and playground, which I created. 

 

When I do "sfdx force:org:create -s -f config/project-scratch-def.json -a dreamhouse-org" according to instructions - it creates totally different playground and org with another url (domain) and user,  separate from my current Trailhead User. 

 

For example, my correct org / user is this one: https://wise-narwhal-5gv8od-dev-ed.trailblaze.lightning.force.com/lightning/setup/SetupOneHome/home But it creates this: https://page-energy-3515-dev-ed.scratch.lightning.force.com/lightning/setup/ManageUsers/home And I don't know how then to bind it with each other so that I can make something (to chose that playground, it absent on screen) to pass. Event if I change password of that new user I then can not login under that password and can not use button "Connect org" for that reason to connect that new org. Now I deleted my scratch org (second link) and waiting for someone to explain correct steps for passing this. 

Problem with playgrounds and orgs (challenge is not passing, We can't find a Lightning Web Component named 'bikeCard'.)

10 answers
  1. Apr 12, 2023, 6:26 AM

    I was able to handle this after creating a new playground and making necessary actions from instructions from scratch.

     

    For others: be aware, that if the modules are sequential and logically related in content, this does not mean that they are related in fact. Keep in mind.

Loading
0/9000