Hi,
when one ore more Lightning Components (metadata type AuraDefinitionBundle) are part of the diff between two branches, the MDAPI deployment, which is based on the metadata created by the sfdx-git-packager, fails with the following error
Main markup cannot be empty. If you are trying to delete the Lightning definition bundle, directly delete the bundle instead.
Unable to build Aura Definition source for c:auraAPIName: We couldn't validate your component. Review it and try again. The following code has invalid references which caused save validation failure. aura.impl.db.packaging.LightningComponentPackagingServiceImpl@17d62fcf
Regards
Achim
Hi,
when one ore more Lightning Components (metadata type AuraDefinitionBundle) are part of the diff between two branches, the MDAPI deployment, which is based on the metadata created by the sfdx-git-packager, fails with the following error
Main markup cannot be empty. If you are trying to delete the Lightning definition bundle, directly delete the bundle instead.
Unable to build Aura Definition source for c:auraAPIName: We couldn't validate your component. Review it and try again. The following code has invalid references which caused save validation failure. aura.impl.db.packaging.LightningComponentPackagingServiceImpl@17d62fcf
Regards
Achim