tl;dr - how to make sure
Retrieve Source from Org includes XML file
Normally when I retrieve source data for an LWC from an org in vs code the resulting file looks like this:
For some reason now when I retrieve them it looks like this:
js-meta.xml file is missing.
SFDX: Deploy This Source to Org command, I encounter the following error:
Error: ENOTEMPTY: directory not empty, rmdir 'C:\Users\ME\AppData\Local\Temp\sdx_sourceDeploy_pkg_1616179398177\lwc\adminControlPanel\adminControlPanel.html'
As a result I am unable to work on LWC files at this time.
How to make sure
Retrieve Source from Org for LWC files includes the XML file?
- Restart Visual Studio Code
- Uninstall and reinstall Salesforce Extension Pack
- Reauthorize org
- Update Visual Studio Code
- Reinstall SFDX
- Start a new project with manifest
I have also searched online for this error via github tickets, stack exchange, and other sites, but have not found a solution.