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
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.

Thanks,
 
Girish Reddy 52Girish Reddy 52
HTML file
<template>
    <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>
      </div>
    </lightning-card>
  </template>
JS File
import { LightningElement } from 'lwc';
export default class HelloWorld extends LightningElement {
  greeting = 'World';
  changeHandler(event) {
    this.greeting = event.target.value;
  }
}
MetaXML
<?xml version="1.0" encoding="UTF-8"?>
<LightningComponentBundle xmlns="http://soap.sforce.com/2006/04/metadata" fqn="helloWorld">
  <apiVersion>52.0</apiVersion>
  <isExposed>true</isExposed>
  <targets>
    <target>lightning__AppPage</target>
    <target>lightning__RecordPage</target>
    <target>lightning__HomePage</target>
  </targets>
</LightningComponentBundle>