You need to sign in to do that
Don't have an account?
Peter Ogilvie
salesforce sfdx force:org:open
I'm able to create scratch org which I can see in my trail dev hub but I can't open them. from "Get Ready to Create an App" tailhead
pogilvie:~/Projects/geolocation-> sfdx force:org:create -s -f config/project-scratch-def.json -a GeoAppScratch
pogilvie:~/Projects/geolocation-> sfdx force:org:open
ERROR running force:org:open: No defaultusername org found.
I've also tried:
sfdx force:org:create --setdefaultusername -f config/project-scratch-def.json
and I get the same error. I wished I tried this out yesturday when I was a trailhead dx!
pogilvie:~/Projects/geolocation-> sfdx force:org:create -s -f config/project-scratch-def.json -a GeoAppScratch
pogilvie:~/Projects/geolocation-> sfdx force:org:open
ERROR running force:org:open: No defaultusername org found.
I've also tried:
sfdx force:org:create --setdefaultusername -f config/project-scratch-def.json
and I get the same error. I wished I tried this out yesturday when I was a trailhead dx!
sfdx force:org:display -u GeoAppScratch
You get a bunch of info including username, copy and paste it into the below
sfdx force:config:set defaultusername=<your org username>