You need to sign in to do that
Don't have an account?
Agnibha Chakrabarti 10
XML parse error: Unexpected xml:
hi, i have created an lwc component. when i am trying to deploy it into org it is showing 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..
this is my XML file.
when if removing <targets> tag ...then the component is getting deployed.
did anybody face this issue?
pls help..
I hope you have have already founded the reason behind the issue.
today i face the same issue, and i found that i had written "<target>>" at the place of "<target>" these kind of small spelling errors could be the reason for such error.
Do tell me if there was any other reason.
Thanks,
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.