0

I get the error:

AuraDefinitionBundle - ComponentName    No COMPONENT named markup://PackageNameSpace:ComponentName found

I can't figure out how to resolve this when I create my managed package. Previously, this component has always uploaded just fine with the managed package. It only recently started having an issue. I tried updating the API version of components in my org. I tried enabling automatic updates. I tried various things that might have been somewhat similar issues in google searches and nothing has helped. Does anyone have any ideas?

1
  • Even we are facing the same issues. Deployed latest code to the Packaging org and trying to create a Beta. Upload fails with the same lightning component error. Commented Feb 28, 2019 at 19:43

1 Answer 1

1

Sometimes there is some breakage in Salesforce dependencies recalculation.

Try to add some dummy code to your component like <span></span> and upload a package again to make Salesforce dependencies to be refreshed next time package is uploaded.

This worked for us.

2
  • I didn't get to experiment with this.... as I came in today and created a package and it magically worked. This fix MIGHT have worked though as it sounds like that could be why it started magically working. If it happens again I'll have to test it.
    – dphil
    Commented Feb 28, 2019 at 15:49
  • This did end up working. I don't know if it was coincidence or if it actually worked but I actually removed a span I had around the component that I didn't think I needed and it worked.
    – dphil
    Commented Feb 28, 2019 at 21:02

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .