I am trying to deploy an LWC and get this error : "Error parsing file: LWC Metadata Xml Parser: Unexpected element: runtimeNamespace". Here is the code of my js-meta.xml

<?xml version="1.0" encoding="UTF-8"?>
<LightningComponentBundle xmlns="http://soap.sforce.com/2006/04/metadata">
    <description>Button green</description>

VS code


I realised there is a typing error. The runtimeNamespace tag is not closed correctly, I missed the "/"

  • 2
    This element is not part of the specification for this file's content (as mentioned by Martin Lezer in his answer). Why do you have it here?
    – Phil W
    Jan 8 '20 at 12:06
  • It is for Vlocity LWC
    – Ludodo
    Jan 5 '21 at 22:32

Well, the runtimeNamespace tag doesn't exist in the possible configuration file tags.

Here's a link to the documentation : https://developer.salesforce.com/docs/component-library/documentation/lwc/lwc.reference_configuration_tags

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.