4

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?

3

I 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
1

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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.