I'm trying to install the unlocked package to a sandbox org, where a previous version of it already exists.
I used to have an email template in unfiled public, but I moved it to a public read/write folder. Is there anything I'm missing?
Salesforce Stack Exchange is a question and answer site for Salesforce administrators, implementation experts, developers and anybody in-between. It only takes a minute to sign up.
Sign up to join this communityI don't have an easy way to determine this immediately, but it may be due to the default upgrade type of Mixed. Try using the Delete mode instead:
sfdx force:package:install -p the_package_to_install -t Delete -u myAlias -w 10
I have managed to solve it. An email template with the exact same name has been created in the Sandbox in unfiled public, but wasn't part of the unlocked package. After deleting it, I could install the package.