function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Rajasekhar RSRajasekhar RS 

Th rfuij

I got this error
[{
    "resource": "/c:/Users/RS-EQX/oms/E zone/",
    "owner": "deploy-errors",
    "severity": 8,
    "message": "org.auraframework.throwable.AuraRuntimeException: Unable to retrieve metadata for descriptor: markup://c:__LightningMessageChannel__productAddRemoveCartChannel__c",
    "source": "LightningComponentBundle",
    "startLineNumber": 1,
    "startColumn": 1,
    "endLineNumber": 1,
    "endColumn": 1
}]
SubratSubrat (Salesforce Developers) 
Hello Rajasekhar ,

The Error that you are encountering is in your Salesforce Lightning Component code. Specifically, the error message indicates that the component is unable to retrieve metadata for the descriptor "markup://c:_LightningMessageChannelproductAddRemoveCartChannel_c".

This error can occur for a number of reasons, including:

1) The Lightning message channel specified in the component's markup doesn't exist.

2) There may be an issue with the component's metadata or deployment.

3) The component may be referencing a deprecated or unsupported feature.

Also Refer the below link have solution for similar kind of ask

https://trailhead.salesforce.com/en/trailblazer-community/feed/0D54S00000A977YSAR


https://bitbucket.org/RoseSilverSoftware/illuminatedcloud/issues/1574/lightning-message-service-in-non

If this helps, Please mark it as best answer.

Thank you.