I've been walking through the ISV DX session here with a test package in preparation for migrating my general package development to DX
It went pretty well until the final step - installing the new beta package in a test scratch org. I created a new DX scratch org with a new alias, but I can't install the package into that org via the CLI or UI
Create a new Org:
$ sfdx force:org:create --definitionfile config/KW_TEST_SCRATCH2-scratch-def.json --setalias testorg3
Then tried to install package into that new org:
$ sfdx force:package:install --targetusername testorg3 --id 04tXXX --wait 10
ERROR: Encountered errors installing the package! ERROR: Installation errors:
1) Package(033XXX) The package already exists., Details: You can't install a package into the org where it was created.
But that alias has a different Org Id according to the Org List, and when I log in, the package definitely isn't there.
Feel like I am just missing something obvious, but I've tried numerous things and so far, no joy...