Skip to content

Created Aura Components aren't deployable #46

Description

@achimraible

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions