New projects created with sfdx cause an error when using force:source:retrieve, regardless whether specifying a package.xml or attempting to pull metadata by type (e.g. -m LightningComponentBundle).
Repository based on steps to reproduce: sfdx-issue
Here are the steps that I followed to create the repo above and reproduce the error.
sfdx force:project:create -n sfdx-issue -t standard -xcd sfdx-issuesfdx force:auth:web:login --setalias sfdx-issue --instanceurl https://login.salesforce.com --setdefaultusernamesfdx force:source:retrieve --manifest /Users/rogermitchell/Desktop/sfdx-issue/manifest/package.xmlNote that you can follow the steps above and connect to an org that has metadata (e.g. 1 Apex class), and it will not be retrieved when using sfdx force:source:retrieve --manifest ... or sfdx force:source:retrieve -m ApexClass
Retrieve metadata from the org.
ERROR running force:source:retrieve: Cannot read property 'fileName' of undefined
09:46:34.106 sfdx force:source:retrieve --manifest /Users/rogermitchell/Desktop/sfdx-issue/manifest/package.xml
ended with exit code 1
This appears to only impact net new projects created with sfdx. Existing projects do not fail when retrieving source via force:source:retrieve.
SFDX CLI Version: sfdx-cli/7.68.6-d37008df83 darwin-x64 node-v12.18.3
SFDX plugin Version
@oclif/plugin-autocomplete 0.1.5 (core)
@oclif/plugin-commands 1.3.0 (core)
@oclif/plugin-help 3.0.1 (core)
@oclif/plugin-not-found 1.2.4 (core)
@oclif/plugin-plugins 1.7.10 (core)
@oclif/plugin-update 1.3.10 (core)
@oclif/plugin-warn-if-update-available 1.7.0 (core)
@oclif/plugin-which 1.0.3 (core)
@salesforce/sfdx-trust 3.0.7 (core)
analytics 1.12.0 (core)
generator 1.1.3 (core)
salesforcedx 49.4.1 (core)
鈹溾攢 salesforcedx-templates 48.32.0 (core)
鈹溾攢 custom-metadata 1.0.7 (core)
鈹溾攢 @salesforce/sfdx-plugin-lwc-test 0.1.7 (core)
鈹斺攢 salesforce-alm 49.4.0 (core)
sfdx-cli 7.68.6 (core)
OS and version: macOS 10.15.4
Hat tip to @msrivastav13 for telling me to post with --dev-debug.
sfdx force:source:retrieve --manifest /Users/rogermitchell/Desktop/sfdx-issue/manifest/package.xml --dev-debug
Executing: /Users/rogermitchell/.local/share/sfdx/client/bin/sfdx force:source:retrieve --manifest /Users/rogermitchell/Desktop/sfdx-issue/manifest/package.xml --dev-debug
Executing: SFDX_BINPATH=/Users/rogermitchell/.local/share/sfdx/client/7.68.6-d37008df83/bin/sfdx /Users/rogermitchell/.local/share/sfdx/client/7.68.6-d37008df83/bin/node /Users/rogermitchell/.local/share/sfdx/client/7.68.6-d37008df83/bin/sfdx.js force:source:retrieve --manifest /Users/rogermitchell/Desktop/sfdx-issue/manifest/package.xml --dev-debug
@oclif/config reading core plugin /Users/rogermitchell/.local/share/sfdx/client/7.68.6-d37008df83 +0ms
@oclif/config loadJSON /Users/rogermitchell/.local/share/sfdx/client/7.68.6-d37008df83/package.json +0ms
@oclif/config loadJSON /Users/rogermitchell/.local/share/sfdx/client/7.68.6-d37008df83/oclif.manifest.json +2ms
@oclif/config:sfdx-cli using manifest from /Users/rogermitchell/.local/share/sfdx/client/7.68.6-d37008df83/oclif.manifest.json +0ms
@oclif/config reading user plugins pjson /Users/rogermitchell/.local/share/sfdx/package.json +0ms
@oclif/config loadJSON /Users/rogermitchell/.local/share/sfdx/package.json +1ms
@oclif/config loading plugins [
'@oclif/plugin-autocomplete',
'@oclif/plugin-commands',
'@oclif/plugin-help',
'@oclif/plugin-not-found',
'@oclif/plugin-plugins',
'@oclif/plugin-update',
'@oclif/plugin-warn-if-update-available',
'@oclif/plugin-which',
'@salesforce/plugin-generator',
'@salesforce/plugin-analytics',
'@salesforce/sfdx-trust',
'salesforcedx'
] +0ms
@oclif/config reading core plugin /Users/rogermitchell/.local/share/sfdx/client/7.68.6-d37008df83/node_modules/@oclif/plugin-autocomplete +0ms
@oclif/config loadJSON /Users/rogermitchell/.local/share/sfdx/client/7.68.6-d37008df83/node_modules/@oclif/plugin-autocomplete/package.json +2ms
@oclif/config reading core plugin /Users/rogermitchell/.local/share/sfdx/client/7.68.6-d37008df83/node_modules/@oclif/plugin-commands +0ms
@oclif/config loadJSON /Users/rogermitchell/.local/share/sfdx/client/7.68.6-d37008df83/node_modules/@oclif/plugin-commands/package.json +1ms
@oclif/config reading core plugin /Users/rogermitchell/.local/share/sfdx/client/7.68.6-d37008df83/node_modules/@oclif/plugin-help +0ms
@oclif/config loadJSON /Users/rogermitchell/.local/share/sfdx/client/7.68.6-d37008df83/node_modules/@oclif/plugin-help/package.json +0ms
@oclif/config reading core plugin /Users/rogermitchell/.local/share/sfdx/client/7.68.6-d37008df83/node_modules/@oclif/plugin-not-found +0ms
@oclif/config loadJSON /Users/rogermitchell/.local/share/sfdx/client/7.68.6-d37008df83/node_modules/@oclif/plugin-not-found/package.json +0ms
@oclif/config reading core plugin /Users/rogermitchell/.local/share/sfdx/client/7.68.6-d37008df83/node_modules/@oclif/plugin-plugins +0ms
@oclif/config loadJSON /Users/rogermitchell/.local/share/sfdx/client/7.68.6-d37008df83/node_modules/@oclif/plugin-plugins/package.json +0ms
@oclif/config reading core plugin /Users/rogermitchell/.local/share/sfdx/client/7.68.6-d37008df83/node_modules/@oclif/plugin-update +0ms
@oclif/config loadJSON /Users/rogermitchell/.local/share/sfdx/client/7.68.6-d37008df83/node_modules/@oclif/plugin-update/package.json +0ms
@oclif/config reading core plugin /Users/rogermitchell/.local/share/sfdx/client/7.68.6-d37008df83/node_modules/@oclif/plugin-warn-if-update-available +0ms
@oclif/config loadJSON /Users/rogermitchell/.local/share/sfdx/client/7.68.6-d37008df83/node_modules/@oclif/plugin-warn-if-update-available/package.json +0ms
@oclif/config reading core plugin /Users/rogermitchell/.local/share/sfdx/client/7.68.6-d37008df83/node_modules/@oclif/plugin-which +0ms
@oclif/config loadJSON /Users/rogermitchell/.local/share/sfdx/client/7.68.6-d37008df83/node_modules/@oclif/plugin-which/package.json +0ms
@oclif/config reading core plugin /Users/rogermitchell/.local/share/sfdx/client/7.68.6-d37008df83/node_modules/@salesforce/plugin-generator +0ms
@oclif/config loadJSON /Users/rogermitchell/.local/share/sfdx/client/7.68.6-d37008df83/node_modules/@salesforce/plugin-generator/package.json +0ms
@oclif/config reading core plugin /Users/rogermitchell/.local/share/sfdx/client/7.68.6-d37008df83/node_modules/@salesforce/plugin-analytics +0ms
@oclif/config loadJSON /Users/rogermitchell/.local/share/sfdx/client/7.68.6-d37008df83/node_modules/@salesforce/plugin-analytics/package.json +0ms
@oclif/config reading core plugin /Users/rogermitchell/.local/share/sfdx/client/7.68.6-d37008df83/node_modules/@salesforce/sfdx-trust +0ms
@oclif/config loadJSON /Users/rogermitchell/.local/share/sfdx/client/7.68.6-d37008df83/node_modules/@salesforce/sfdx-trust/package.json +1ms
@oclif/config reading core plugin /Users/rogermitchell/.local/share/sfdx/client/7.68.6-d37008df83/node_modules/salesforcedx +0ms
@oclif/config loadJSON /Users/rogermitchell/.local/share/sfdx/client/7.68.6-d37008df83/node_modules/salesforcedx/package.json +4ms
@oclif/config loadJSON /Users/rogermitchell/.local/share/sfdx/client/7.68.6-d37008df83/node_modules/@oclif/plugin-autocomplete/oclif.manifest.json +1ms
@oclif/config loadJSON /Users/rogermitchell/.local/share/sfdx/client/7.68.6-d37008df83/node_modules/@oclif/plugin-commands/oclif.manifest.json +0ms
@oclif/config loadJSON /Users/rogermitchell/.local/share/sfdx/client/7.68.6-d37008df83/node_modules/@oclif/plugin-not-found/oclif.manifest.json +0ms
@oclif/config loadJSON /Users/rogermitchell/.local/share/sfdx/client/7.68.6-d37008df83/node_modules/@oclif/plugin-plugins/oclif.manifest.json +1ms
@oclif/config loadJSON /Users/rogermitchell/.local/share/sfdx/client/7.68.6-d37008df83/node_modules/@oclif/plugin-update/oclif.manifest.json +0ms
@oclif/config loadJSON /Users/rogermitchell/.local/share/sfdx/client/7.68.6-d37008df83/node_modules/@oclif/plugin-help/oclif.manifest.json +1ms
@oclif/config loadJSON /Users/rogermitchell/.local/share/sfdx/client/7.68.6-d37008df83/node_modules/@salesforce/plugin-analytics/oclif.manifest.json +0ms
@oclif/config loadJSON /Users/rogermitchell/.local/share/sfdx/client/7.68.6-d37008df83/node_modules/@oclif/plugin-which/oclif.manifest.json +1ms
@oclif/config loadJSON /Users/rogermitchell/.local/share/sfdx/client/7.68.6-d37008df83/node_modules/@oclif/plugin-warn-if-update-available/oclif.manifest.json +0ms
@oclif/config loadJSON /Users/rogermitchell/.local/share/sfdx/client/7.68.6-d37008df83/node_modules/@salesforce/sfdx-trust/oclif.manifest.json +0ms
@oclif/config loadJSON /Users/rogermitchell/.local/share/sfdx/client/7.68.6-d37008df83/node_modules/@salesforce/plugin-generator/oclif.manifest.json +1ms
@oclif/config loadJSON /Users/rogermitchell/.local/share/sfdx/client/7.68.6-d37008df83/node_modules/salesforcedx/oclif.manifest.json +0ms
@oclif/config loadJSON /Users/rogermitchell/.local/share/sfdx/client/7.68.6-d37008df83/node_modules/@salesforce/plugin-generator/.oclif.manifest.json +0ms
@oclif/config:@oclif/plugin-autocomplete using manifest from /Users/rogermitchell/.local/share/sfdx/client/7.68.6-d37008df83/node_modules/@oclif/plugin-autocomplete/oclif.manifest.json +0ms
@oclif/config:@oclif/plugin-commands using manifest from /Users/rogermitchell/.local/share/sfdx/client/7.68.6-d37008df83/node_modules/@oclif/plugin-commands/oclif.manifest.json +0ms
@oclif/config:@oclif/plugin-not-found using manifest from /Users/rogermitchell/.local/share/sfdx/client/7.68.6-d37008df83/node_modules/@oclif/plugin-not-found/oclif.manifest.json +0ms
@oclif/config:@oclif/plugin-plugins using manifest from /Users/rogermitchell/.local/share/sfdx/client/7.68.6-d37008df83/node_modules/@oclif/plugin-plugins/oclif.manifest.json +0ms
@oclif/config:@oclif/plugin-update using manifest from /Users/rogermitchell/.local/share/sfdx/client/7.68.6-d37008df83/node_modules/@oclif/plugin-update/oclif.manifest.json +0ms
@oclif/config:@oclif/plugin-help using manifest from /Users/rogermitchell/.local/share/sfdx/client/7.68.6-d37008df83/node_modules/@oclif/plugin-help/oclif.manifest.json +0ms
@oclif/config:@oclif/plugin-which using manifest from /Users/rogermitchell/.local/share/sfdx/client/7.68.6-d37008df83/node_modules/@oclif/plugin-which/oclif.manifest.json +0ms
@oclif/config:@salesforce/plugin-analytics using manifest from /Users/rogermitchell/.local/share/sfdx/client/7.68.6-d37008df83/node_modules/@salesforce/plugin-analytics/oclif.manifest.json +0ms
@oclif/config:@oclif/plugin-warn-if-update-available using manifest from /Users/rogermitchell/.local/share/sfdx/client/7.68.6-d37008df83/node_modules/@oclif/plugin-warn-if-update-available/oclif.manifest.json +0ms
@oclif/config:@salesforce/sfdx-trust using manifest from /Users/rogermitchell/.local/share/sfdx/client/7.68.6-d37008df83/node_modules/@salesforce/sfdx-trust/oclif.manifest.json +0ms
@oclif/config:salesforcedx using manifest from /Users/rogermitchell/.local/share/sfdx/client/7.68.6-d37008df83/node_modules/salesforcedx/oclif.manifest.json +0ms
@oclif/config loading plugins [
'salesforce-alm',
'salesforcedx-templates',
'@salesforce/sfdx-plugin-lwc-test',
'@salesforce/plugin-custom-metadata'
] +17ms
@oclif/config loadJSON /Users/rogermitchell/.local/share/sfdx/client/7.68.6-d37008df83/node_modules/salesforcedx/package.json +4ms
@oclif/config loadJSON /Users/rogermitchell/.local/share/sfdx/client/7.68.6-d37008df83/node_modules/salesforcedx/package.json +0ms
@oclif/config loadJSON /Users/rogermitchell/.local/share/sfdx/client/7.68.6-d37008df83/node_modules/salesforcedx/package.json +0ms
@oclif/config loadJSON /Users/rogermitchell/.local/share/sfdx/client/7.68.6-d37008df83/node_modules/salesforcedx/package.json +25ms
@oclif/config:@salesforce/plugin-generator using manifest from /Users/rogermitchell/.local/share/sfdx/client/7.68.6-d37008df83/node_modules/@salesforce/plugin-generator/.oclif.manifest.json +0ms
@oclif/config loading plugins [
'@oclif/plugin-help',
'@oclif/plugin-warn-if-update-available',
'@oclif/plugin-not-found'
] +25ms
@oclif/config loadJSON /Users/rogermitchell/.local/share/sfdx/client/7.68.6-d37008df83/node_modules/@salesforce/plugin-generator/package.json +1ms
@oclif/config loadJSON /Users/rogermitchell/.local/share/sfdx/client/7.68.6-d37008df83/node_modules/@salesforce/plugin-generator/package.json +0ms
@oclif/config reading core plugin /Users/rogermitchell/.local/share/sfdx/client/7.68.6-d37008df83/node_modules/@salesforce/plugin-generator/node_modules/@oclif/plugin-help +0ms
@oclif/config loadJSON /Users/rogermitchell/.local/share/sfdx/client/7.68.6-d37008df83/node_modules/@salesforce/plugin-generator/node_modules/@oclif/plugin-help/package.json +0ms
@oclif/config loadJSON /Users/rogermitchell/.local/share/sfdx/client/7.68.6-d37008df83/node_modules/package.json +1ms
@oclif/config loadJSON /Users/rogermitchell/.local/share/sfdx/client/7.68.6-d37008df83/node_modules/package.json +0ms
@oclif/config loadJSON /Users/rogermitchell/.local/share/sfdx/client/7.68.6-d37008df83/node_modules/package.json +0ms
@oclif/config loadJSON /Users/rogermitchell/.local/share/sfdx/client/7.68.6-d37008df83/node_modules/package.json +0ms
@oclif/config loadJSON /Users/rogermitchell/.local/share/sfdx/client/7.68.6-d37008df83/node_modules/@salesforce/package.json +1ms
@oclif/config loadJSON /Users/rogermitchell/.local/share/sfdx/client/7.68.6-d37008df83/node_modules/@salesforce/package.json +0ms
@oclif/config loadJSON /Users/rogermitchell/.local/share/sfdx/client/7.68.6-d37008df83/node_modules/@salesforce/plugin-generator/node_modules/@oclif/plugin-help/oclif.manifest.json +0ms
@oclif/config reading core plugin /Users/rogermitchell/.local/share/sfdx/client/7.68.6-d37008df83/node_modules/salesforce-alm +0ms
@oclif/config loadJSON /Users/rogermitchell/.local/share/sfdx/client/7.68.6-d37008df83/node_modules/salesforce-alm/package.json +0ms
@oclif/config reading core plugin /Users/rogermitchell/.local/share/sfdx/client/7.68.6-d37008df83/node_modules/salesforcedx-templates +0ms
@oclif/config loadJSON /Users/rogermitchell/.local/share/sfdx/client/7.68.6-d37008df83/node_modules/salesforcedx-templates/package.json +2ms
@oclif/config reading core plugin /Users/rogermitchell/.local/share/sfdx/client/7.68.6-d37008df83/node_modules/@salesforce/sfdx-plugin-lwc-test +0ms
@oclif/config loadJSON /Users/rogermitchell/.local/share/sfdx/client/7.68.6-d37008df83/node_modules/@salesforce/sfdx-plugin-lwc-test/package.json +0ms
@oclif/config reading core plugin /Users/rogermitchell/.local/share/sfdx/client/7.68.6-d37008df83/node_modules/@salesforce/plugin-custom-metadata +0ms
@oclif/config loadJSON /Users/rogermitchell/.local/share/sfdx/client/7.68.6-d37008df83/node_modules/@salesforce/plugin-custom-metadata/package.json +0ms
@oclif/config loadJSON /Users/rogermitchell/.local/share/sfdx/client/7.68.6-d37008df83/node_modules/package.json +0ms
@oclif/config loadJSON /Users/rogermitchell/.local/share/sfdx/client/7.68.6-d37008df83/node_modules/package.json +0ms
@oclif/config reading core plugin /Users/rogermitchell/.local/share/sfdx/client/7.68.6-d37008df83/node_modules/@oclif/plugin-warn-if-update-available +0ms
@oclif/config loadJSON /Users/rogermitchell/.local/share/sfdx/client/7.68.6-d37008df83/node_modules/@oclif/plugin-warn-if-update-available/package.json +0ms
@oclif/config reading core plugin /Users/rogermitchell/.local/share/sfdx/client/7.68.6-d37008df83/node_modules/@oclif/plugin-not-found +0ms
@oclif/config loadJSON /Users/rogermitchell/.local/share/sfdx/client/7.68.6-d37008df83/node_modules/@oclif/plugin-not-found/package.json +1ms
@oclif/config loadJSON /Users/rogermitchell/.local/share/sfdx/client/7.68.6-d37008df83/node_modules/salesforce-alm/oclif.manifest.json +3ms
@oclif/config:@oclif/plugin-help using manifest from /Users/rogermitchell/.local/share/sfdx/client/7.68.6-d37008df83/node_modules/@salesforce/plugin-generator/node_modules/@oclif/plugin-help/oclif.manifest.json +0ms
@oclif/config loadJSON /Users/rogermitchell/.local/share/sfdx/client/7.68.6-d37008df83/node_modules/@salesforce/sfdx-plugin-lwc-test/oclif.manifest.json +1ms
@oclif/config loadJSON /Users/rogermitchell/.local/share/sfdx/client/7.68.6-d37008df83/node_modules/@salesforce/plugin-custom-metadata/oclif.manifest.json +0ms
@oclif/config loadJSON /Users/rogermitchell/.local/share/sfdx/client/7.68.6-d37008df83/node_modules/salesforcedx-templates/oclif.manifest.json +1ms
@oclif/config loadJSON /Users/rogermitchell/.local/share/sfdx/client/7.68.6-d37008df83/node_modules/@oclif/plugin-warn-if-update-available/oclif.manifest.json +0ms
@oclif/config loadJSON /Users/rogermitchell/.local/share/sfdx/client/7.68.6-d37008df83/node_modules/@oclif/plugin-not-found/oclif.manifest.json +8ms
@oclif/config:salesforce-alm using manifest from /Users/rogermitchell/.local/share/sfdx/client/7.68.6-d37008df83/node_modules/salesforce-alm/oclif.manifest.json +0ms
@oclif/config:@salesforce/sfdx-plugin-lwc-test using manifest from /Users/rogermitchell/.local/share/sfdx/client/7.68.6-d37008df83/node_modules/@salesforce/sfdx-plugin-lwc-test/oclif.manifest.json +0ms
@oclif/config:@salesforce/plugin-custom-metadata using manifest from /Users/rogermitchell/.local/share/sfdx/client/7.68.6-d37008df83/node_modules/@salesforce/plugin-custom-metadata/oclif.manifest.json +0ms
@oclif/config:salesforcedx-templates using manifest from /Users/rogermitchell/.local/share/sfdx/client/7.68.6-d37008df83/node_modules/salesforcedx-templates/oclif.manifest.json +0ms
@oclif/config:@oclif/plugin-warn-if-update-available using manifest from /Users/rogermitchell/.local/share/sfdx/client/7.68.6-d37008df83/node_modules/@oclif/plugin-warn-if-update-available/oclif.manifest.json +0ms
@oclif/config:@oclif/plugin-not-found using manifest from /Users/rogermitchell/.local/share/sfdx/client/7.68.6-d37008df83/node_modules/@oclif/plugin-not-found/oclif.manifest.json +0ms
@oclif/config config done +23ms
sfdx OS: +0ms
sfdx platform: darwin +0ms
sfdx architecture: x64 +0ms
sfdx release: 19.4.0 +0ms
sfdx shell: zsh +1ms
sfdx NODE: +0ms
sfdx version: 12.18.3 +0ms
sfdx CLI: +0ms
sfdx version: 7.68.6-d37008df83 +0ms
sfdx channel: stable +0ms
sfdx bin: sfdx +0ms
sfdx data: /Users/rogermitchell/.local/share/sfdx +0ms
sfdx cache: /Users/rogermitchell/Library/Caches/sfdx +0ms
sfdx config: /Users/rogermitchell/.config/sfdx +25ms
sfdx ENV: +1ms
sfdx NODE_OPTIONS: <not set> +0ms
sfdx SFDX_AUTOUPDATE_DISABLE: <not set> +0ms
sfdx SFDX_BINPATH: /Users/rogermitchell/.local/share/sfdx/client/7.68.6-d37008df83/bin/sfdx +0ms
sfdx SFDX_COMPILE_CACHE: <not set> +0ms
sfdx SFDX_DISABLE_AUTOUPDATE: <not set> +0ms
sfdx SFDX_ENV: development +0ms
sfdx SFDX_INSTALLER: true +0ms
sfdx SFDX_LAZY_LOAD_MODULES: true +0ms
sfdx SFDX_NPM_REGISTRY: <not set> +0ms
sfdx SFDX_REDIRECTED: 1 +0ms
sfdx SFDX_S3_HOST: <not set> +2ms
sfdx SFDX_UPDATE_INSTRUCTIONS: <not set> +0ms
sfdx ARGS: +0ms
sfdx 0: /Users/rogermitchell/.local/share/sfdx/client/7.68.6-d37008df83/bin/node +0ms
sfdx 1: /Users/rogermitchell/.local/share/sfdx/client/7.68.6-d37008df83/bin/sfdx.js +0ms
sfdx 2: force:source:retrieve +0ms
sfdx 3: --manifest +0ms
sfdx 4: /Users/rogermitchell/Desktop/sfdx-issue/manifest/package.xml +0ms
lazy-require loading type cache from /Users/rogermitchell/Library/Caches/sfdx/module-types.json +0ms
lazy-require loaded type cache +0ms
lazy-require parsing type cache +0ms
lazy-require parsed type cache +2ms
lazy-require enabled +0ms
@oclif/config start init hook +34ms
sfdx:@oclif/plugin-update:hooks:init start /Users/rogermitchell/.local/share/sfdx/client/7.68.6-d37008df83/node_modules/@oclif/plugin-update/lib/hooks/init +0ms
sfdx:@salesforce/plugin-analytics:hooks:init start /Users/rogermitchell/.local/share/sfdx/client/7.68.6-d37008df83/node_modules/@salesforce/plugin-analytics/lib/hooks/analyticsInit.js +0ms
sfdx:@oclif/plugin-warn-if-update-available:hooks:init start /Users/rogermitchell/.local/share/sfdx/client/7.68.6-d37008df83/node_modules/@oclif/plugin-warn-if-update-available/lib/hooks/init/check-update +0ms
sfdx:@salesforce/plugin-analytics:hooks:init done +3ms
sfdx:@oclif/plugin-update:hooks:init done +28ms
sfdx:@oclif/plugin-warn-if-update-available:hooks:init done +5ms
@oclif/config init hook done +30ms
sfdx init version: @oclif/[email protected] argv: [ 'force:source:retrieve', '--manifest', '/Users/rogermitchell/Desktop/sfdx-issue/manifest/package.xml' ] +0ms
@oclif/config runCommand force:source:retrieve [ '--manifest', '/Users/rogermitchell/Desktop/sfdx-issue/manifest/package.xml' ] +7ms
@oclif/config:salesforce-alm require /Users/rogermitchell/.local/share/sfdx/client/7.68.6-d37008df83/node_modules/salesforce-alm/dist/commands/force/source/retrieve.js +74ms
@oclif/config start prerun hook +217ms
sfdx:@salesforce/plugin-analytics:hooks:prerun start /Users/rogermitchell/.local/share/sfdx/client/7.68.6-d37008df83/node_modules/@salesforce/plugin-analytics/lib/hooks/analyticsPrerun.js +0ms
sfdx:core TRACE Setup child 'Config' logger instance +0ms
sfdx:Config INFO Reading config file: /Users/rogermitchell/Desktop/sfdx-issue/.sfdx/sfdx-config.json +0ms
sfdx:core TRACE Setup child 'Config' logger instance +2ms
sfdx:Config INFO Reading config file: /Users/rogermitchell/.sfdx/sfdx-config.json +1ms
sfdx:Config INFO Reading config file: /Users/rogermitchell/.sfdx/sfdx-config.json +1ms
sfdx:Config INFO Reading config file: /Users/rogermitchell/Desktop/sfdx-issue/.sfdx/sfdx-config.json +0ms
sfdx:analytics Usage acknowledgement file already exists +0ms
sfdx:analytics Using analytics logging file /var/folders/h_/r52y5m4j1m52zmhv5tym0bwh0000gn/T/sfdx-analytics/analytics-2b9aec1fb906bffcce0b1fcc263ec488ec9c2850.log +1ms
sfdx:@salesforce/plugin-analytics:hooks:prerun done +40ms
@oclif/config prerun hook done +41ms
sfdx:core TRACE Setup child 'SourceRetrieveCommand' logger instance +7ms
sfdx:force:source:retrieve init version: @oclif/[email protected] argv: [ '--manifest', '/Users/rogermitchell/Desktop/sfdx-issue/manifest/package.xml' ] +0ms
sfdx:SourceRetrieveCommand INFO Running command [SourceRetrieveCommand] with flags [{"manifest":"/Users/rogermitchell/Desktop/sfdx-issue/manifest/package.xml","loglevel":"warn","wait":{"quantity":33,"unit":0}}] and args [{}] +0ms
sfdx:core TRACE Setup child 'Config' logger instance +8ms
sfdx:Config INFO Reading config file: /Users/rogermitchell/Desktop/sfdx-issue/.sfdx/sfdx-config.json +15ms
sfdx:core TRACE Setup child 'Config' logger instance +1ms
sfdx:Config INFO Reading config file: /Users/rogermitchell/.sfdx/sfdx-config.json +0ms
sfdx:Config INFO Reading config file: /Users/rogermitchell/.sfdx/sfdx-config.json +1ms
sfdx:Config INFO Reading config file: /Users/rogermitchell/Desktop/sfdx-issue/.sfdx/sfdx-config.json +5ms
sfdx:core TRACE Setup child 'Org' logger instance +8ms
sfdx:core TRACE Setup child 'Aliases' logger instance +1ms
sfdx:Aliases INFO Reading config file: /Users/rogermitchell/.sfdx/alias.json +0ms
sfdx:core TRACE Setup child 'AuthInfo' logger instance +2ms
sfdx:core TRACE Setup child 'crypto' logger instance +1ms
sfdx:crypto DEBUG retryStatus: undefined +0ms
sfdx:core TRACE Setup child 'keyChain' logger instance +1ms
sfdx:keyChain DEBUG platform: darwin +0ms
sfdx:core TRACE Setup child 'AuthInfoConfig' logger instance +33ms
sfdx:AuthInfoConfig INFO Reading config file: /Users/rogermitchell/.sfdx/[email protected] +0ms
sfdx:AuthInfo INFO Updated auth info for username: [email protected] +0ms
sfdx:core TRACE Setup child 'Config' logger instance +1ms
sfdx:Config INFO Reading config file: /Users/rogermitchell/Desktop/sfdx-issue/.sfdx/sfdx-config.json +42ms
sfdx:core TRACE Setup child 'Config' logger instance +1ms
sfdx:Config INFO Reading config file: /Users/rogermitchell/.sfdx/sfdx-config.json +0ms
sfdx:Config INFO Reading config file: /Users/rogermitchell/.sfdx/sfdx-config.json +1ms
sfdx:Config INFO Reading config file: /Users/rogermitchell/Desktop/sfdx-issue/.sfdx/sfdx-config.json +0ms
sfdx:AuthInfo INFO Returning fields for a connection using OAuth config. +9ms
sfdx:core TRACE Setup child 'connection' logger instance +10ms
sfdx:connection DEBUG request: {"method":"GET","url":"https://1596200772830-dev-ed.my.salesforce.com/services/data","headers":{"content-type":"application/json","user-agent":"sfdx toolbelt:"}} +0ms
sfdx:connection DEBUG <request> method=GET, url=https://1596200772830-dev-ed.my.salesforce.com/services/data +1ms
sfdx:connection DEBUG elappsed time : 202msec +202ms
sfdx:connection DEBUG <response> status=200, url=https://1596200772830-dev-ed.my.salesforce.com/services/data +0ms
sfdx:connection DEBUG response for org versions: [object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object] +0ms
sfdx:core TRACE Setup child 'Config' logger instance +267ms
sfdx:Config INFO Reading config file: /Users/rogermitchell/Desktop/sfdx-issue/.sfdx/sfdx-config.json +276ms
sfdx:core TRACE Setup child 'Config' logger instance +1ms
sfdx:Config INFO Reading config file: /Users/rogermitchell/.sfdx/sfdx-config.json +1ms
sfdx:Config INFO Reading config file: /Users/rogermitchell/.sfdx/sfdx-config.json +1ms
sfdx:Config INFO Reading config file: /Users/rogermitchell/Desktop/sfdx-issue/.sfdx/sfdx-config.json +0ms
sfdx:core TRACE Setup child 'SourceRetrieve' logger instance +42ms
sfdx:core TRACE Setup child 'SourceWorkspaceAdapter' logger instance +1ms
sfdx:core TRACE Setup child 'SourcePathStatusManager' logger instance +6ms
sfdx:core TRACE Setup child 'FileMoves' logger instance +0ms
sfdx:core TRACE Setup child 'Workspace' logger instance +1ms
sfdx:core TRACE Setup child 'Workspace' logger instance +0ms
sfdx:Workspace INFO Reading config file: /Users/rogermitchell/Desktop/sfdx-issue/.sfdx/orgs/[email protected]/sourcePathInfos.json +0ms
sfdx:Workspace DEBUG Reading workspace from cache +0ms
sfdx:Workspace DEBUG Initializing statefull workspace +1ms
sfdx:Workspace INFO Writing to config file: /Users/rogermitchell/Desktop/sfdx-issue/.sfdx/orgs/[email protected]/sourcePathInfos.json +9ms
sfdx:core TRACE Setup child 'SourceLocations' logger instance +17ms
sfdx:SourceWorkspaceAdapter DEBUG this.wsPath: /Users/rogermitchell/Desktop/sfdx-issue +0ms
sfdx:SourceWorkspaceAdapter DEBUG this.defaultPackagePath: force-app +0ms
sfdx:SourceWorkspaceAdapter DEBUG this.defaultSrcDir: /Users/rogermitchell/Desktop/sfdx-issue/force-app/main/default +0ms
sfdx:SourceWorkspaceAdapter DEBUG this.fromConvert: true +0ms
sfdx:SourceWorkspaceAdapter DEBUG this.isStateless: false +0ms
sfdx:core TRACE Setup child 'SourceUtil' logger instance +1ms
sfdx:SourceUtil INFO Created output directory '/var/folders/h_/r52y5m4j1m52zmhv5tym0bwh0000gn/T/sdx_sourceRetrieve_1596204057524' +0ms
sfdx:SourceRetrieve INFO Retrieving metadata in manifest '/Users/rogermitchell/Desktop/sfdx-issue/manifest/package.xml' from org: '[email protected]' +0ms
sfdx:core TRACE Setup child 'Org' logger instance +7s
sfdx:core TRACE Setup child 'Config' logger instance +1ms
sfdx:Config INFO Reading config file: /Users/rogermitchell/Desktop/sfdx-issue/.sfdx/sfdx-config.json +7s
sfdx:core TRACE Setup child 'Config' logger instance +1ms
sfdx:Config INFO Reading config file: /Users/rogermitchell/.sfdx/sfdx-config.json +1ms
sfdx:Config INFO Reading config file: /Users/rogermitchell/.sfdx/sfdx-config.json +0ms
sfdx:Config INFO Reading config file: /Users/rogermitchell/Desktop/sfdx-issue/.sfdx/sfdx-config.json +1ms
sfdx:core TRACE Setup child 'Aliases' logger instance +1ms
sfdx:Aliases INFO Reading config file: /Users/rogermitchell/.sfdx/alias.json +7s
sfdx:core TRACE Setup child 'AuthInfo' logger instance +2ms
sfdx:core TRACE Setup child 'crypto' logger instance +0ms
sfdx:crypto DEBUG retryStatus: undefined +7s
sfdx:core TRACE Setup child 'keyChain' logger instance +1ms
sfdx:keyChain DEBUG platform: darwin +7s
sfdx:AuthInfo INFO Updated auth info for username: [email protected] +7s
sfdx:core TRACE Setup child 'Config' logger instance +46ms
sfdx:Config INFO Reading config file: /Users/rogermitchell/Desktop/sfdx-issue/.sfdx/sfdx-config.json +49ms
sfdx:core TRACE Setup child 'Config' logger instance +1ms
sfdx:Config INFO Reading config file: /Users/rogermitchell/.sfdx/sfdx-config.json +1ms
sfdx:Config INFO Reading config file: /Users/rogermitchell/.sfdx/sfdx-config.json +0ms
sfdx:Config INFO Reading config file: /Users/rogermitchell/Desktop/sfdx-issue/.sfdx/sfdx-config.json +1ms
sfdx:AuthInfo INFO Returning fields for a connection using OAuth config. +3ms
sfdx:core TRACE Setup child 'connection' logger instance +3ms
sfdx:connection DEBUG request: {"method":"GET","url":"https://1596200772830-dev-ed.my.salesforce.com/services/data","headers":{"content-type":"application/json","user-agent":"sfdx toolbelt:"}} +7s
sfdx:connection DEBUG <request> method=GET, url=https://1596200772830-dev-ed.my.salesforce.com/services/data +1ms
sfdx:connection DEBUG elappsed time : 101msec +101ms
sfdx:connection DEBUG <response> status=200, url=https://1596200772830-dev-ed.my.salesforce.com/services/data +0ms
sfdx:connection DEBUG response for org versions: [object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object] +1ms
sfdx:core TRACE Setup child 'MaxRevision' logger instance +103ms
sfdx:core TRACE Setup child 'MaxRevision' logger instance +1ms
sfdx:MaxRevision INFO Reading config file: /Users/rogermitchell/Desktop/sfdx-issue/.sfdx/orgs/[email protected]/maxRevision.json +0ms
sfdx:MaxRevision DEBUG SELECT MAX(RevisionCounter) MaxRev FROM SourceMember +0ms
sfdx:connection DEBUG Auto-fetching query: SELECT MAX(RevisionCounter) MaxRev FROM SourceMember +3ms
sfdx:connection DEBUG >>> Query start >>> +1ms
sfdx:connection DEBUG SOQL = SELECT MAX(RevisionCounter) MaxRev FROM SourceMember +0ms
sfdx:connection DEBUG request: {"method":"GET","url":"https://1596200772830-dev-ed.my.salesforce.com/services/data/v49.0/tooling/query?q=SELECT%20MAX(RevisionCounter)%20MaxRev%20FROM%20SourceMember","headers":{"content-type":"application/json","user-agent":"sfdx toolbelt:"}} +1ms
sfdx:connection DEBUG <request> method=GET, url=https://1596200772830-dev-ed.my.salesforce.com/services/data/v49.0/tooling/query?q=SELECT%20MAX(RevisionCounter)%20MaxRev%20FROM%20SourceMember +15ms
sfdx:connection DEBUG elappsed time : 102msec +102ms
sfdx:connection DEBUG <response> status=400, url=https://1596200772830-dev-ed.my.salesforce.com/services/data/v49.0/tooling/query?q=SELECT%20MAX(RevisionCounter)%20MaxRev%20FROM%20SourceMember +1ms
sfdx:connection DEBUG --- Query error --- +0ms
sfdx:core TRACE Setup child 'MdapiPullApi' logger instance +123ms
sfdx:SourceWorkspaceAdapter DEBUG processMdapiFileProperty retrieveRoot: /var/folders/h_/r52y5m4j1m52zmhv5tym0bwh0000gn/T/sdx_sourceRetrieve_1596204057524 +7s
sfdx:SourceWorkspaceAdapter DEBUG processMdapiFileProperty aggregateFullName: homePageHeader +0ms
sfdx:SourceLocations DEBUG No metadata path found for LightningComponentBundle__homePageHeader +0ms
sfdx:SourceWorkspaceAdapter DEBUG processMdapiFileProperty aggregateMetadataPath: undefined +1ms
sfdx:SourceWorkspaceAdapter DEBUG processMdapiFileProperty this.forceIgnore.accepts(aggregateMetadataPath): true +0ms
sfdx:SourceWorkspaceAdapter DEBUG processMdapiFilePropertykey: LightningComponentBundle__homePageHeader +1ms
sfdx:SourceWorkspaceAdapter DEBUG processMdapiFileProperty aggregateSourceElement.retrievedMetadataPath: /var/folders/h_/r52y5m4j1m52zmhv5tym0bwh0000gn/T/sdx_sourceRetrieve_1596204057524/unpackaged/lwc/homePageHeader/homePageHeader.js-meta.xml +0ms
sfdx:SourceWorkspaceAdapter DEBUG retrievedContentPath: /var/folders/h_/r52y5m4j1m52zmhv5tym0bwh0000gn/T/sdx_sourceRetrieve_1596204057524/unpackaged/lwc/homePageHeader/homePageHeader.html +15ms
sfdx:SourceWorkspaceAdapter DEBUG processMdapiFileProperty retrieveRoot: /var/folders/h_/r52y5m4j1m52zmhv5tym0bwh0000gn/T/sdx_sourceRetrieve_1596204057524 +0ms
sfdx:SourceWorkspaceAdapter DEBUG processMdapiFileProperty aggregateFullName: homePageHeader +1ms
sfdx:SourceWorkspaceAdapter DEBUG processMdapiFileProperty aggregateMetadataPath: /Users/rogermitchell/Desktop/sfdx-issue/force-app/main/default/lwc/homePageHeader/homePageHeader.js-meta.xml +0ms
sfdx:SourceWorkspaceAdapter DEBUG processMdapiFileProperty this.forceIgnore.accepts(aggregateMetadataPath): true +0ms
sfdx:SourceWorkspaceAdapter DEBUG processMdapiFilePropertykey: LightningComponentBundle__homePageHeader +0ms
sfdx:SourceWorkspaceAdapter DEBUG processMdapiFileProperty aggregateSourceElement.retrievedMetadataPath: /var/folders/h_/r52y5m4j1m52zmhv5tym0bwh0000gn/T/sdx_sourceRetrieve_1596204057524/unpackaged/lwc/homePageHeader/homePageHeader.js-meta.xml +0ms
sfdx:SourceWorkspaceAdapter DEBUG retrievedContentPath: /var/folders/h_/r52y5m4j1m52zmhv5tym0bwh0000gn/T/sdx_sourceRetrieve_1596204057524/unpackaged/lwc/homePageHeader/homePageHeader.js +1ms
sfdx:SourceWorkspaceAdapter DEBUG processMdapiFileProperty retrieveRoot: /var/folders/h_/r52y5m4j1m52zmhv5tym0bwh0000gn/T/sdx_sourceRetrieve_1596204057524 +0ms
sfdx:SourceWorkspaceAdapter DEBUG processMdapiFileProperty aggregateFullName: homePageHeader +0ms
sfdx:SourceWorkspaceAdapter DEBUG processMdapiFileProperty aggregateMetadataPath: /Users/rogermitchell/Desktop/sfdx-issue/force-app/main/default/lwc/homePageHeader/homePageHeader.js-meta.xml +1ms
sfdx:SourceWorkspaceAdapter DEBUG processMdapiFileProperty this.forceIgnore.accepts(aggregateMetadataPath): true +0ms
sfdx:SourceWorkspaceAdapter DEBUG processMdapiFilePropertykey: LightningComponentBundle__homePageHeader +0ms
sfdx:SourceWorkspaceAdapter DEBUG processMdapiFileProperty aggregateSourceElement.retrievedMetadataPath: /var/folders/h_/r52y5m4j1m52zmhv5tym0bwh0000gn/T/sdx_sourceRetrieve_1596204057524/unpackaged/lwc/homePageHeader/homePageHeader.js-meta.xml +0ms
sfdx:SourceWorkspaceAdapter DEBUG retrievedContentPath: /var/folders/h_/r52y5m4j1m52zmhv5tym0bwh0000gn/T/sdx_sourceRetrieve_1596204057524/unpackaged/lwc/homePageHeader/homePageHeader.css +0ms
sfdx:SourceWorkspaceAdapter DEBUG processMdapiFileProperty retrieveRoot: /var/folders/h_/r52y5m4j1m52zmhv5tym0bwh0000gn/T/sdx_sourceRetrieve_1596204057524 +0ms
sfdx:SourceWorkspaceAdapter DEBUG processMdapiFileProperty aggregateFullName: brandStyling +0ms
sfdx:SourceLocations DEBUG No metadata path found for LightningComponentBundle__brandStyling +19ms
sfdx:SourceWorkspaceAdapter DEBUG processMdapiFileProperty aggregateMetadataPath: undefined +1ms
sfdx:core TRACE Setup child 'SourceUtil' logger instance +23ms
sfdx:core TRACE Setup child 'SfdxProjectJson' logger instance +5ms
sfdx:SfdxProjectJson INFO Reading config file: /Users/rogermitchell/.sfdx/sfdx-project.json +0ms
sfdx:SfdxProjectJson TRACE Setup child 'SchemaValidator' logger instance +1ms
sfdx:SchemaValidator DEBUG Schema loaded for /Users/rogermitchell/.local/share/sfdx/client/7.68.6-d37008df83/node_modules/@salesforce/schemas/sfdx-project.schema.json +0ms
sfdx:SfdxProjectJson WARN The config file: /Users/rogermitchell/.sfdx/sfdx-project.json is not schema valid
sfdx:SfdxProjectJson Due to: Validation errors:
sfdx:SfdxProjectJson should have required property 'packageDirectories' +10ms
sfdx:core TRACE Setup child 'SfdxProjectJson' logger instance +12ms
sfdx:SfdxProjectJson INFO Reading config file: /Users/rogermitchell/Desktop/sfdx-issue/sfdx-project.json +1ms
sfdx:SfdxProjectJson TRACE Setup child 'SchemaValidator' logger instance +1ms
sfdx:SchemaValidator DEBUG Schema loaded for /Users/rogermitchell/.local/share/sfdx/client/7.68.6-d37008df83/node_modules/@salesforce/schemas/sfdx-project.schema.json +11ms
sfdx:SfdxProjectJson INFO Reading config file: /Users/rogermitchell/.sfdx/sfdx-project.json +3ms
sfdx:SfdxProjectJson TRACE Setup child 'SchemaValidator' logger instance +0ms
sfdx:SchemaValidator DEBUG Schema loaded for /Users/rogermitchell/.local/share/sfdx/client/7.68.6-d37008df83/node_modules/@salesforce/schemas/sfdx-project.schema.json +12ms
sfdx:SfdxProjectJson WARN The config file: /Users/rogermitchell/.sfdx/sfdx-project.json is not schema valid
sfdx:SfdxProjectJson Due to: Validation errors:
sfdx:SfdxProjectJson should have required property 'packageDirectories' +11ms
sfdx:SfdxProjectJson INFO Reading config file: /Users/rogermitchell/Desktop/sfdx-issue/sfdx-project.json +0ms
sfdx:SfdxProjectJson TRACE Setup child 'SchemaValidator' logger instance +0ms
sfdx:SchemaValidator DEBUG Schema loaded for /Users/rogermitchell/.local/share/sfdx/client/7.68.6-d37008df83/node_modules/@salesforce/schemas/sfdx-project.schema.json +3ms
sfdx:core TRACE Setup child 'Config' logger instance +18ms
sfdx:Config INFO Reading config file: /Users/rogermitchell/Desktop/sfdx-issue/.sfdx/sfdx-config.json +288ms
sfdx:core TRACE Setup child 'Config' logger instance +1ms
sfdx:Config INFO Reading config file: /Users/rogermitchell/.sfdx/sfdx-config.json +0ms
sfdx:Config INFO Reading config file: /Users/rogermitchell/.sfdx/sfdx-config.json +1ms
sfdx:Config INFO Reading config file: /Users/rogermitchell/Desktop/sfdx-issue/.sfdx/sfdx-config.json +0ms
ERROR running force:source:retrieve: Cannot read property 'fileName' of undefined
*** Internal Diagnostic ***
TypeError: Cannot read property 'fileName' of undefined
at Function.getMetadataFileNameFromBundleFileProperties (/Users/rogermitchell/.local/share/sfdx/client/7.68.6-d37008df83/node_modules/salesforce-alm/dist/lib/source/bundlePathHelper.js:41:48)
at Function.getPathFromBundleTypeFileProperties (/Users/rogermitchell/.local/share/sfdx/client/7.68.6-d37008df83/node_modules/salesforce-alm/dist/lib/source/bundlePathHelper.js:35:43)
at LightningComponentBundleMetadataType.getDefaultAggregateMetadataPath (/Users/rogermitchell/.local/share/sfdx/client/7.68.6-d37008df83/node_modules/salesforce-alm/dist/lib/source/metadataTypeImpl/bundleMetadataType.js:30:52)
at SourceWorkspaceAdapter.processMdapiFileProperty (/Users/rogermitchell/.local/share/sfdx/client/7.68.6-d37008df83/node_modules/salesforce-alm/dist/lib/source/sourceWorkspaceAdapter.js:270:59)
at /Users/rogermitchell/.local/share/sfdx/client/7.68.6-d37008df83/node_modules/salesforce-alm/dist/lib/source/sourcePullApi.js:163:22
at Array.forEach (<anonymous>)
at MdapiPullApi._syncDownSource (/Users/rogermitchell/.local/share/sfdx/client/7.68.6-d37008df83/node_modules/salesforce-alm/dist/lib/source/sourcePullApi.js:156:31)
at SourceRetrieve.retrieveFromManifest (/Users/rogermitchell/.local/share/sfdx/client/7.68.6-d37008df83/node_modules/salesforce-alm/dist/lib/source/sourceRetrieve.js:137:56)
at processTicksAndRejections (internal/process/task_queues.js:97:5)
at async SourceRetrieve.retrieve (/Users/rogermitchell/.local/share/sfdx/client/7.68.6-d37008df83/node_modules/salesforce-alm/dist/lib/source/sourceRetrieve.js:65:27)
at async SourceRetrieveCommand.execute (/Users/rogermitchell/.local/share/sfdx/client/7.68.6-d37008df83/node_modules/salesforce-alm/dist/lib/source/sourceRetrieveCommand.js:31:16)
at async SourceRetrieveCommand.execLegacyCommand (/Users/rogermitchell/.local/share/sfdx/client/7.68.6-d37008df83/node_modules/salesforce-alm/dist/ToolbeltCommand.js:148:29)
at async SourceRetrieveCommand.run (/Users/rogermitchell/.local/share/sfdx/client/7.68.6-d37008df83/node_modules/salesforce-alm/dist/commands/force/source/retrieve.js:27:16)
at async SourceRetrieveCommand._run (/Users/rogermitchell/.local/share/sfdx/client/7.68.6-d37008df83/node_modules/salesforce-alm/node_modules/@salesforce/command/lib/sfdxCommand.js:93:40)
at async Config.runCommand (/Users/rogermitchell/.local/share/sfdx/client/7.68.6-d37008df83/node_modules/@oclif/config/lib/config.js:172:9)
at async Main.run (/Users/rogermitchell/.local/share/sfdx/client/7.68.6-d37008df83/node_modules/@oclif/command/lib/main.js:22:9)
Outer stack:
at Function.wrap (/Users/rogermitchell/.local/share/sfdx/client/7.68.6-d37008df83/node_modules/@salesforce/core/lib/sfdxError.js:151:27)
at SourceRetrieveCommand.catch (/Users/rogermitchell/.local/share/sfdx/client/7.68.6-d37008df83/node_modules/salesforce-alm/dist/ToolbeltCommand.js:247:46)
at async SourceRetrieveCommand._run (/Users/rogermitchell/.local/share/sfdx/client/7.68.6-d37008df83/node_modules/salesforce-alm/node_modules/@salesforce/command/lib/sfdxCommand.js:97:13)
at async Config.runCommand (/Users/rogermitchell/.local/share/sfdx/client/7.68.6-d37008df83/node_modules/@oclif/config/lib/config.js:172:9)
at async Main.run (/Users/rogermitchell/.local/share/sfdx/client/7.68.6-d37008df83/node_modules/@oclif/command/lib/main.js:22:9)
at async Main._run (/Users/rogermitchell/.local/share/sfdx/client/7.68.6-d37008df83/node_modules/@oclif/command/lib/command.js:43:20)
at async Object.run (/Users/rogermitchell/.local/share/sfdx/client/7.68.6-d37008df83/dist/cli.js:32:20)
******
sfdx:SourceRetrieveCommand ERROR [
sfdx:SourceRetrieveCommand '\u001b[1mERROR running force:source:retrieve: \u001b[22m',
sfdx:SourceRetrieveCommand "\u001b[31mCannot read property 'fileName' of undefined\u001b[39m",
sfdx:SourceRetrieveCommand '\u001b[31m\u001b[39m\n' +
sfdx:SourceRetrieveCommand '\u001b[31m*** Internal Diagnostic ***\u001b[39m\n' +
sfdx:SourceRetrieveCommand '\u001b[31m\u001b[39m\n' +
sfdx:SourceRetrieveCommand "\u001b[31mTypeError: Cannot read property 'fileName' of undefined\u001b[39m\n" +
sfdx:SourceRetrieveCommand '\u001b[31m at Function.getMetadataFileNameFromBundleFileProperties (/Users/rogermitchell/.local/share/sfdx/client/7.68.6-d37008df83/node_modules/salesforce-alm/dist/lib/source/bundlePathHelper.js:41:48)\u001b[39m\n' +
sfdx:SourceRetrieveCommand '\u001b[31m at Function.getPathFromBundleTypeFileProperties (/Users/rogermitchell/.local/share/sfdx/client/7.68.6-d37008df83/node_modules/salesforce-alm/dist/lib/source/bundlePathHelper.js:35:43)\u001b[39m\n' +
sfdx:SourceRetrieveCommand '\u001b[31m at LightningComponentBundleMetadataType.getDefaultAggregateMetadataPath (/Users/rogermitchell/.local/share/sfdx/client/7.68.6-d37008df83/node_modules/salesforce-alm/dist/lib/source/metadataTypeImpl/bundleMetadataType.js:30:52)\u001b[39m\n' +
sfdx:SourceRetrieveCommand '\u001b[31m at SourceWorkspaceAdapter.processMdapiFileProperty (/Users/rogermitchell/.local/share/sfdx/client/7.68.6-d37008df83/node_modules/salesforce-alm/dist/lib/source/sourceWorkspaceAdapter.js:270:59)\u001b[39m\n' +
sfdx:SourceRetrieveCommand '\u001b[31m at /Users/rogermitchell/.local/share/sfdx/client/7.68.6-d37008df83/node_modules/salesforce-alm/dist/lib/source/sourcePullApi.js:163:22\u001b[39m\n' +
sfdx:SourceRetrieveCommand '\u001b[31m at Array.forEach (<anonymous>)\u001b[39m\n' +
sfdx:SourceRetrieveCommand '\u001b[31m at MdapiPullApi._syncDownSource (/Users/rogermitchell/.local/share/sfdx/client/7.68.6-d37008df83/node_modules/salesforce-alm/dist/lib/source/sourcePullApi.js:156:31)\u001b[39m\n' +
sfdx:SourceRetrieveCommand '\u001b[31m at SourceRetrieve.retrieveFromManifest (/Users/rogermitchell/.local/share/sfdx/client/7.68.6-d37008df83/node_modules/salesforce-alm/dist/lib/source/sourceRetrieve.js:137:56)\u001b[39m\n' +
sfdx:SourceRetrieveCommand '\u001b[31m at processTicksAndRejections (internal/process/task_queues.js:97:5)\u001b[39m\n' +
sfdx:SourceRetrieveCommand '\u001b[31m at async SourceRetrieve.retrieve (/Users/rogermitchell/.local/share/sfdx/client/7.68.6-d37008df83/node_modules/salesforce-alm/dist/lib/source/sourceRetrieve.js:65:27)\u001b[39m\n' +
sfdx:SourceRetrieveCommand '\u001b[31m at async SourceRetrieveCommand.execute (/Users/rogermitchell/.local/share/sfdx/client/7.68.6-d37008df83/node_modules/salesforce-alm/dist/lib/source/sourceRetrieveCommand.js:31:16)\u001b[39m\n' +
sfdx:SourceRetrieveCommand '\u001b[31m at async SourceRetrieveCommand.execLegacyCommand (/Users/rogermitchell/.local/share/sfdx/client/7.68.6-d37008df83/node_modules/salesforce-alm/dist/ToolbeltCommand.js:148:29)\u001b[39m\n' +
sfdx:SourceRetrieveCommand '\u001b[31m at async SourceRetrieveCommand.run (/Users/rogermitchell/.local/share/sfdx/client/7.68.6-d37008df83/node_modules/salesforce-alm/dist/commands/force/source/retrieve.js:27:16)\u001b[39m\n' +
sfdx:SourceRetrieveCommand '\u001b[31m at async SourceRetrieveCommand._run (/Users/rogermitchell/.local/share/sfdx/client/7.68.6-d37008df83/node_modules/salesforce-alm/node_modules/@salesforce/command/lib/sfdxCommand.js:93:40)\u001b[39m\n' +
sfdx:SourceRetrieveCommand '\u001b[31m at async Config.runCommand (/Users/rogermitchell/.local/share/sfdx/client/7.68.6-d37008df83/node_modules/@oclif/config/lib/config.js:172:9)\u001b[39m\n' +
sfdx:SourceRetrieveCommand '\u001b[31m at async Main.run (/Users/rogermitchell/.local/share/sfdx/client/7.68.6-d37008df83/node_modules/@oclif/command/lib/main.js:22:9)\u001b[39m\n' +
sfdx:SourceRetrieveCommand '\u001b[31mOuter stack:\u001b[39m\n' +
sfdx:SourceRetrieveCommand '\u001b[31m at Function.wrap (/Users/rogermitchell/.local/share/sfdx/client/7.68.6-d37008df83/node_modules/@salesforce/core/lib/sfdxError.js:151:27)\u001b[39m\n' +
sfdx:SourceRetrieveCommand '\u001b[31m at SourceRetrieveCommand.catch (/Users/rogermitchell/.local/share/sfdx/client/7.68.6-d37008df83/node_modules/salesforce-alm/dist/ToolbeltCommand.js:247:46)\u001b[39m\n' +
sfdx:SourceRetrieveCommand '\u001b[31m at async SourceRetrieveCommand._run (/Users/rogermitchell/.local/share/sfdx/client/7.68.6-d37008df83/node_modules/salesforce-alm/node_modules/@salesforce/command/lib/sfdxCommand.js:97:13)\u001b[39m\n' +
sfdx:SourceRetrieveCommand '\u001b[31m at async Config.runCommand (/Users/rogermitchell/.local/share/sfdx/client/7.68.6-d37008df83/node_modules/@oclif/config/lib/config.js:172:9)\u001b[39m\n' +
sfdx:SourceRetrieveCommand '\u001b[31m at async Main.run (/Users/rogermitchell/.local/share/sfdx/client/7.68.6-d37008df83/node_modules/@oclif/command/lib/main.js:22:9)\u001b[39m\n' +
sfdx:SourceRetrieveCommand '\u001b[31m at async Main._run (/Users/rogermitchell/.local/share/sfdx/client/7.68.6-d37008df83/node_modules/@oclif/command/lib/command.js:43:20)\u001b[39m\n' +
sfdx:SourceRetrieveCommand '\u001b[31m at async Object.run (/Users/rogermitchell/.local/share/sfdx/client/7.68.6-d37008df83/dist/cli.js:32:20)\u001b[39m\n' +
sfdx:SourceRetrieveCommand '\u001b[31m******\u001b[39m\n' +
sfdx:SourceRetrieveCommand '\u001b[31m\u001b[39m'
sfdx:SourceRetrieveCommand ] +7s
sfdx:core TRACE Setup child 'Org' logger instance +6ms
sfdx:core TRACE Setup child 'Config' logger instance +1ms
sfdx:Config INFO Reading config file: /Users/rogermitchell/Desktop/sfdx-issue/.sfdx/sfdx-config.json +6ms
sfdx:core TRACE Setup child 'Config' logger instance +1ms
sfdx:Config INFO Reading config file: /Users/rogermitchell/.sfdx/sfdx-config.json +1ms
sfdx:Config INFO Reading config file: /Users/rogermitchell/.sfdx/sfdx-config.json +13ms
sfdx:Config INFO Reading config file: /Users/rogermitchell/Desktop/sfdx-issue/.sfdx/sfdx-config.json +0ms
sfdx:core TRACE Setup child 'Aliases' logger instance +14ms
sfdx:Aliases INFO Reading config file: /Users/rogermitchell/.sfdx/alias.json +360ms
sfdx:core TRACE Setup child 'AuthInfo' logger instance +3ms
sfdx:core TRACE Setup child 'crypto' logger instance +1ms
sfdx:crypto DEBUG retryStatus: undefined +363ms
sfdx:core TRACE Setup child 'keyChain' logger instance +0ms
sfdx:keyChain DEBUG platform: darwin +348ms
sfdx:core TRACE Setup child 'AuthInfoConfig' logger instance +28ms
sfdx:AuthInfoConfig INFO Reading config file: /Users/rogermitchell/.sfdx/DevHub.json +7s
lazy-require saving type cache to /Users/rogermitchell/Library/Caches/sfdx/module-types.json +8s
lazy-require no changes to save +0ms
sfdx:analytics Spawning "/Users/rogermitchell/.local/share/sfdx/client/7.68.6-d37008df83/bin/node /Users/rogermitchell/.local/share/sfdx/client/7.68.6-d37008df83/node_modules/@salesforce/plugin-analytics/processes/upload /Users/rogermitchell/Library/Caches/sfdx /var/folders/h_/r52y5m4j1m52zmhv5tym0bwh0000gn/T/sfdx-analytics/analytics-2b9aec1fb906bffcce0b1fcc263ec488ec9c2850.log" +7s
@rogeramitchell I was unable to reproduce the issue using your repo and the latest version of the cli (7.75.0). I'm going to close the issue but feel free to reopen if you're still experiencing it
@mdonnalley confirmed this is resolved, thank you!
Most helpful comment
Hat tip to @msrivastav13 for telling me to post with
--dev-debug.sfdx force:source:retrieve --manifest /Users/rogermitchell/Desktop/sfdx-issue/manifest/package.xml --dev-debug