Use one of the following options to correct this issue:
- Add the missing component to the target organization: Add the missing component to the target organization with a solution import.
- Add the missing component to the solution: If the component is in the source organization, then ensure the solution includes this component when it is created.
- Remove the dependency to the component: If the missing component is not required in the target organization, then remove the component in the source and recreate the solution.
If you are not sure which component is missing, follow these steps:
1. Unzip the solution .zip file.
2. Open the solution.xml file.
3. Copy the GUID 1 value from the error details and search for that value within the solution.xml file. You may find a section in the XML like the following:
<MissingDependency>
<Required key="591" type="60" displayName="[Component Name 1]" parentDisplayName="[Parent Entity]" solution="[Solution Name]" id="[GUID 1]" />
<Dependent key="34" type="60" displayName="[Component Name 2]" parentDisplayName="[Child Entity]" id="[GUID 2]" />
</MissingDependency>
The XML shown above indicates the solution is missing a dependent component named [Component Name 1] with an id of [GUID 1]. Because this component does not exist within this solution, it needs to exist in the target organization to be imported successfully.