You need to sign in to do that
Don't have an account?
Trevor Roy
"Get Ready to Create an App" tailhead
Working through the "Get Ready to Create an App" trailhead module and I'm stuck on the step to create a new scratch org.
I keep getting this error:
ERROR running force:org:create: You do not have access to the [ScratchOrgInfo] object.
I'm using the copy function of the text snippet so I know it's not a syntax problem.
sfdx force:org:create -s -f config/project-scratch-def.json -a GeoAppScratch
Anyone run into this?
It appears this was caused by having DevHub set to an improper org, this was resolved by doing the following:
1. Sign up for a new org based on the first step of the trailhead module
2. Setting up that org as the DevHub
3. using sfdx force:org:delete to remove the other orgs I had listed there.
Once that was cleared up I was able to proceed to create a new scratch org.
All Answers
It appears this was caused by having DevHub set to an improper org, this was resolved by doing the following:
1. Sign up for a new org based on the first step of the trailhead module
2. Setting up that org as the DevHub
3. using sfdx force:org:delete to remove the other orgs I had listed there.
Once that was cleared up I was able to proceed to create a new scratch org.