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
AmithaAmitha 

VSCode does not retrieve js-meta.xml file for LWC

Hi All, 

VSCode does not retrieve js-meta.xml file for LWC. I have also tried to pull LWC using package.xml, only css, css-meta.xml, HTML and js files are retrieved.

Without the js-meta.xml file, I cannot deploy any changes to LWC. It gives an error for js-meta.xml file. How to resolve this issue?
ShirishaShirisha (Salesforce Developers) 
Hi Amitha,

Greetings!

.js-meta.xml is the configuration file of the component.Please double check if there is any error occuring while retrieving the component.

Reference:https://trailhead.salesforce.com/content/learn/modules/lightning-web-components-basics/push-lightning-web-component-files

Kindly mark it as best answer if it helps so that it can help others in the future.

Warm Regards,
Shirisha Pathuri
AmithaAmitha
Hi Shirisha, 

There are no errors while retrieving the componenet. Thank you for taking a look.

Best,
Amitha 
Sai KethuSai Kethu
I'm also facing same issue.

@Amitha : Were you able to resolve the issue? If yes can you help fix the issue please.

Regards
Sai