I'm currently trying to create a package version, but I'm encountering this error:
These entities are not supported: [Site]
The commands I used for creating a package and package version are the following:
# ~/Documents/Projects/public_sites sfdx force:package:create --name public_sites --description "<desc_here>" --packagetype Unlocked --path force-app --targetdevhubusername ProductionOrg sfdx force:package:version:create --package public_sites --installationkey <the_key> --wait 10 --targetdevhubusername ProductionOrg --definitionfile config/project-scratch-def.json
In the project-scratch-def.json file, I specifically added 2 features: PersonAccounts and Sites. Then in my force-app/main/default/sites I only have 1 site to deploy .site-meta.xml
Any ideas are welcome.