d2x icon indicating copy to clipboard operation
d2x copied to clipboard

tutorial.md - running 'cci flow run dev_org' throws 'Error: No org specified and no default org set'

Open beAGoodQE opened this issue 10 months ago • 1 comments

I'm following through the tutorial and I have CCI_GITHUB_TOKEN , DEV_HUB_AUTH_URL set in my GIthub (personal account, not organization) Codespaces secrets and granted repository access to my project https://github.com/beAGoodQE/rugbyDay.

I'm creating my first scratch org, per the tutorial. When I run cci flow run dev_org I receive the following error:

10/26/23 19:13:34] Unable to store an encryption key. Any orgs or services written to disk will not be encrypted.                                                                                       
Error: No org specified and no default org set.
Run this command for more information about debugging errors: cci error --help

I get around this by running cci org default dev to set the default org, then re-run the flow and it works as expected.

beAGoodQE avatar Oct 26 '23 19:10 beAGoodQE

Or update documentation to run cci flow run dev_org --org dev instead of cci flow run dev_org

beAGoodQE avatar Oct 26 '23 19:10 beAGoodQE