Hi
I invested a lot of time, trying to generate a valid 2GP package and install it to a newly created Scratch Org without any success.
Do you have some tips which flows i should use?
I tried release_2gp_beta but i get always an error when i install the package in a Scratch Org created over CumulusCI (with cci org scratch dev dev-test and then cci flow run dependencies --org dev-test to install npsp). First i had issues with a ConnectedApp then i had a general error message like in the attachment.
Have i missed something?
And one more thing i don't understand: when i have a release-tag in github-repo, the release_2gp_beta fails with the error:
Response content: [{'message': 'Can’t create the package version. The ancestor package version specified in the sfdx-project.json file hasn’t been promoted and released. Release the ancestor package version before specifying it as the ancestor in a new package or patch version.', 'errorCode': 'INVALID_INPUT', 'fields': []}]
Run this command for more information about debugging errors: cci error --help
Do you have some informations about this error?
@David Reed It took me a bit of time, but the problem seems to be the configured install_class. if i remove this property in cumulusci.yml then release_2gp_beta create a package that can be installed successfully...