Skip to main content
2 of 2
added 3 characters in body
sfdcfox
  • 501.7k
  • 21
  • 473
  • 828

SFDX ERROR: Cannot read property 'fileName' of undefined

I am getting an error when trying to do a sfdx retrieve:

ERROR: Cannot read property 'fileName' of undefined.

Here is the command that is being issued in VS Code when I click on the package.xml file and retrive source from org:

sfdx force:source:retrieve --manifest c:\hilton\BossReno\manifest\package.xml

The development environment is Salesforce Spring 2019 Here is my version of sfdx:

sfdx-cli/6.53.0-67a9cbb60c (windows-x64) node-v8.9.4

Here is my package.xml

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<Package xmlns="http://soap.sforce.com/2006/04/metadata">
    <types>
        <members>*</members>
        <name>ApexClass</name>
    </types>
    <types>
        <members>*</members>
        <name>ApexComponent</name>
    </types>
    <types>
        <members>*</members>
        <name>ApexPage</name>
    </types>
    <types>
        <members>*</members>
        <name>ApexTestSuite</name>
    </types>
    <types>
        <members>*</members>
        <name>ApexTrigger</name>
    </types>
    <types>
        <members>*</members>
        <name>AuraDefinitionBundle</name>
    </types>
    <types>
        <members>*</members>
        <name>StaticResource</name>
    </types>
    <version>44.0</version>
</Package>
Greg Finzer
  • 189
  • 3
  • 12