Why am I getting an error that says, Manage Package upgrade failure- couldn't retrieve component X's design time component information?

531    Asked by ChrisDyer in Salesforce , Asked on Sep 6, 2023

A Managed Package version 1.1 has been released by me and installed on both Developer Org D1 as well as Sandbox Org S1.

Later on, I released a Major version 1.2 by adding a new Lightning Component and Lightning Record Page to the Package, and I upgraded D1 to 1.2

However, I got an error as I tried to upgrade S1 from 1.1 to 1.2, and the installation failed. The error was as follows: 

What is this message "We couldn't retrieve the design time component information for component X" and the difference between Developer Org and Sandbox Org? Please note that All Lightning pages have access = “global.”

https://salesforce.stackexchange.com/questions/173449/manage-package-upgrade-failure-couldnt-retrieve-the-design-time-component-inf

Answered by Dhruv tiwari

This might be because the page that calls a component is not in the targeted org. You can add that to your Package to fix it. This is a known matter to Salesforce; therefore, a patch fix is issued for all instances. The issue is specifically for Summer 17(Sandbox Org) and does not occur in Spring 17(Developer Org). An error appears when I insert LWC metadata into AURA metadata on the Package to deploy.

For example:

This is the way I write:
MyLWC AuraDefinitionBundle>
But the correct writing is:
MyLWC LightningComponentBundle>

Your Answer

Interviews

Parent Categories