The locator to be packaged or published is invalid.
Solution
Use the Rebuild tool or re-create the locator. For more information, see Introduction to locators.
Ensure that the locator is accessible, was not renamed after initiating packaging or publishing, and that the locator name is valid, such as removing any spaces between the locator name and locator file extension (.loc).
More information
If the locator is corrupt, creating a new locator is the only way to resolve the problem. If the locator was created using a previous version of ArcGIS Desktop, creating the locator again using the locator style or locator role with the current version of ArcGIS Pro is recommended. If the locator was created using a customized locator style, ensure that the locator was created correctly and can be used for geocoding.