I'm trying to create an unlocked package for objects, fields, layouts, tabs and couple of other metadata.
In order to make sure that there is no dependencies with other metadata out of my package, I tried to push everything to a scratch-org, I configured it good, did some adjustments manulley (eg: History tracking) and pushed the metadata, and after solving alot of problems it worked, and the metadata are now there.
Now, I'm trying to create a the package, and when I tried to create the version using the following command:
sfdx force:package:version:create --package base-objects --wait 20 -k MY_PASSWORD -f config/project-scratch-def.json
I get the same errors again, even though my scratch-org is the default (not default devhub but default scratch-org), so everything has to be tested there, right?
what I'm missing???
this is one error: Opportunity: The entity: Opportunity does not have history tracking enabled
Case-Case Layout: The ActionId specified was invalid for ActionType QuickAction.
Event-Event Layout: In field: QuickAction - no QuickAction named FeedItem.ContentNote found
PersonAccount.ER_Individual_Account_RT: Global value set 'SOMEFIELD__c' in record type 'Individual' on the entity 'Account' cannot be resolved