Hi Team,
I was following steps mentioned in -
https://trailhead.salesforce.com/content/learn/projects/set-up-your-lightning-web-components-developer-tools/create-a-lightning-web-component?trail_id=build-lightning-web-components
On Create a Scratch Org step, I am observing below error -
The specified org vscodeOrg is not a Dev Hub.
I tried re-checking dev-hub (It is enabled) , Also tried running -
sfdx force:auth:web:login -d -a DevHub
Not sure from where it is picking vscodeOrg . I referred to this thread as well but no luck -
https://trailhead.salesforce.com/trailblazer-community/feed/0D5KX000000mPLZ0A2
#Trailhead Challenges #Trailhead
3 answers
Hello @Dhananjay Shinde,
Please run this command first
sfdx force:auth:web:login -d -a DevHub
https://trailhead.salesforce.com/trailblazer-community/feed/0D54S00000JgDwiSAF
Divya Chauhan (Kcloud Technologies) Forum Ambassador
Hello@Dhananjay Shinde,
- Move from sfdx (v7) to sf (v2) Move from sfdx (v7) to sf (v2) | Salesforce CLI Setup Guide | Salesforce Developers
- Update Salesforce CLI Update Salesforce CLI | Salesforce CLI Setup Guide | Salesforce Developers
- restart the visual studio