Unable to create a scratch org with Code Builder
Closed this issue · 6 comments
Getting an error when trying to create a scratch org either with the cli or with the command palette in CB. Does appear there is a version update to the cli available but I can't update it in the environment either.
To Reproduce
Steps to reproduce the behavior:
- Launch code builder
- Open terminal
- Execute sfdx force:org:create command
OR - Use the 'create a default scratch org' command in the palette
This issue has been linked to a new work item: W-11720586
I had the same issue recently, see #179.
Basically I forgot to connect/select a DevHub. As I suggested in the other issue I guess it could be a good idea to catch that and display a proper error message.
Hi @dustinrediess-sikich can you please verify which type org you are authenticated to and have set as your default dev hub? As stated in #179 this may be an issue related to which org you are connected to? Thanks!
I've recreated on a Dev edition and it seems to be working as expected. It is possible the dev hub wasn't connected in the other org.
Hi @dustinrediess-sikich - Im glad you're unblocked. Code Builder is meant to be installed in a more permanent org, so I think the org type is what caused the issue above