Search code examples
salesforcelwc

salesforce developer - SFDX: Retrieve Source from Org


I have Lightning Web Components called list. And when I try to do SFDX: Retrieve Source from Org, To get my classes from Apex class. I get the following error:

20:32:09.428 Starting SFDX: Retrieve Source from Org === Retrieve Warnings FULL NAME TYPE MESSAGE
───────── ──────────────────────── ────────────────────────────────────────────────────────────────────── list LightningComponentBundle Entity of type 'LightningComponentBundle' named 'list' cannot be found 20:32:10.344 ended SFDX: Retrieve Source from Org

I need help, Thanks!


Solution

  • I created a new project with the command:

    SFDX: Create Project with Manifest
    

    Then, I right-clicked on the package.xml file in the manifest folder, and selected:

    SFDX: Retrieve Source in Manefist from Org
    

    This worked.