Only valid history items can be packaged when using the command on the Share tab. Remove any items with errors and try packaging again. To create a project package with history items that failed, use the Geoprocessing Tool Package Project.
解决办法
Delete all history items that were generated in ArcMap,
Uncheck the Include History Items check box when packaging the project.