+ Start a Discussion
Girish Reddy 52Girish Reddy 52 

I'm getting this error please help. Unable to build Lightning Component source for markup://c:HelloWorldLightningWebComponent: Invalid suffix: json.

I tried deleting the only component which I had earlier deployed, I created a new project and tried deploying this but got this error and was unable to find the solution even after googling. Please help me someone so that I can proceed with learning 
Sai PraveenSai Praveen (Salesforce Developers) 
Hi Girish,

Can you share the code with all the files so experts suggest and  can help you on it.

Girish Reddy 52Girish Reddy 52
HTML file
    <lightning-card title="HelloWorld" icon-name="custom:custom14">
      <div class="slds-m-around_medium">
        <p>Hello, {greeting}!</p>
        <lightning-input label="Name" value={greeting} onchange={changeHandler}></lightning-input>
JS File
import { LightningElement } from 'lwc';
export default class HelloWorld extends LightningElement {
  greeting = 'World';
  changeHandler(event) {
    this.greeting = event.target.value;
<?xml version="1.0" encoding="UTF-8"?>
<LightningComponentBundle xmlns="http://soap.sforce.com/2006/04/metadata" fqn="helloWorld">