You need to sign in to do that
Don't have an account?
Frederick H Lane
Salesforce DX Trailhead problem. Identifying scratch org within dev org
I am doing the Trailhead module Quick Start - Salesforce DX and am on step 3 'Create and Test Our Scratch Org'.
But, have the error message 'We could not find a scratch org whose organization name is 'Dreamhouse' belonging to this Dev Hub. Make sure to create a scratch org with a definition file that sets the 'orgName' property to 'Dreamhouse'.
My Dev org playground is;
aimit.crm.academy@playful-badger-em3zf0.com
And, scratch org;
00D5E0000009bvQUAQ, username: test-16go88iapr2r@example.com
I can see the Dreamhouse App info all pulled in from Github repo but am not sure why Trailhead can't see it. I have repeated this task twice in 2 different Playgrounds and then deleted them. No success. Please can anyone advise?
But, have the error message 'We could not find a scratch org whose organization name is 'Dreamhouse' belonging to this Dev Hub. Make sure to create a scratch org with a definition file that sets the 'orgName' property to 'Dreamhouse'.
My Dev org playground is;
aimit.crm.academy@playful-badger-em3zf0.com
And, scratch org;
00D5E0000009bvQUAQ, username: test-16go88iapr2r@example.com
I can see the Dreamhouse App info all pulled in from Github repo but am not sure why Trailhead can't see it. I have repeated this task twice in 2 different Playgrounds and then deleted them. No success. Please can anyone advise?
Hi Frederick H Lane
Please update your config/project-scratch-def.json as below and follow the below steps.
1. sfdx force:org:create -s -f config/project-scratch-def.json -a dreamhouse-org.
2. sfdx force:org:open
Here is what worked for me.
Perform this step first from the same folder where you run the sfdx commands for this Trailhead.
sfdx force:auth:web:login -d -a DevHub
Then perform the next steps as outlined in the Trailhead
sfdx force:org:create -s -f config/project-scratch-def.json -a dreamhouse-org