Skip to main content
hi, i have created an lwc component. when i am trying to deploy it into org it is showing  XML parse error: Unexpected xml:   .

XML parse error: Unexpected xml:this is my XML file.

when if removing <targets> tag ...then the component is getting deployed.

did anybody face this issue?

pls help..
2 answers
  1. Mar 3, 2020, 12:32 PM
    Hi Saket,

    Sometime VS code just have problem to parse the XML file even if everyting is correct. So, best approach is to copy another components XML file and make the required changes.