Resolution
To fix this issue, make sure the contents of the chmetadata.json file in the root folder of the Cloudhouse Alchemy Compatibility Package are valid.
If you still encounter problems, please contact your Cloudhouse Partner in the first instance (if relevant), otherwise contact Cloudhouse Support for further assistance.
Symptoms
When deploying a Compatibility Package I receive the following error:
ERROR Cloudhouse.Container.Deployment.Program - Failed:
Cloudhouse.Container.Core.Exceptions.InvalidConfigurationFileException: Can not parse package metadata from file <path>\chmetadata.json '<path>\chmetadata.json'
at Cloudhouse.Container.Core.PackageMetadataFile.get_PackageMetadata()
at Cloudhouse.Container.Core.PackageDirectory..ctor(String path)
at Cloudhouse.Container.Deployment.DeploymentCommandFactory.Deploy()
at Cloudhouse.Container.Deployment.Program.Main(String[] args)
ERROR Cloudhouse.Container.Deployment.Program - Exiting with code: -8
Cause
This error is caused if the contents of the chmetadata.json file in the root folder of the Compatibility Package are invalid.