Closed Dane86NN closed 2 years ago
Thank you for filing this issue. We appreciate your feedback and will review the issue as soon as possible. Remember, however, that GitHub isn't a mechanism for receiving support under any agreement or SLA. If you require immediate assistance, contact Salesforce Customer Support.
Hi @Dane86NN Thanks for filing this, certainly seems like a bug. Can you add --dev-debug
to the delete
command and paste the output?
This issue has been linked to a new work item: W-8840146
sfdx:SfdxProjectJson INFO Reading config file: C:\Users\M98F393.sfdx\sfdx-project.json +928ms
sfdx:SfdxProjectJson TRACE Setup child 'SchemaValidator' logger instance +7ms
sfdx:SchemaValidator DEBUG Schema loaded for C:\Users\M98F393\AppData\Local\sfdx\client\7.84.2-a2868a68d5\node_modules\@salesforce\schemas\sfdx-project.schema.json +915ms
sfdx:SfdxProjectJson WARN The config file: C:\Users\M98F393.sfdx\sfdx-project.json is not schema valid
sfdx:SfdxProjectJson Due to: Validation errors:
sfdx:SfdxProjectJson should have required property 'packageDirectories' +55ms
sfdx:SfdxProjectJson INFO Reading config file: C:\Users\M98F393.sfdx\sfdx-project.json +84ms
sfdx:SfdxProjectJson TRACE Setup child 'SchemaValidator' logger instance +4ms
sfdx:SchemaValidator DEBUG Schema loaded for C:\Users\M98F393\AppData\Local\sfdx\client\7.84.2-a2868a68d5\node_modules\@salesforce\schemas\sfdx-project.schema.json +101ms
sfdx:SfdxProjectJson WARN The config file: C:\Users\M98F393.sfdx\sfdx-project.json is not schema valid
sfdx:SfdxProjectJson Due to: Validation errors:
sfdx:SfdxProjectJson should have required property 'packageDirectories' +38ms
sfdx:SfdxProjectJson INFO Reading config file: C:\projects\PBKW12295\sfdx-project.json +3ms
sfdx:SfdxProjectJson TRACE Setup child 'SchemaValidator' logger instance +5ms
sfdx:SchemaValidator DEBUG Schema loaded for C:\Users\M98F393\AppData\Local\sfdx\client\7.84.2-a2868a68d5\node_modules\@salesforce\schemas\sfdx-project.schema.json +48ms
ERROR running force:source:delete: Cannot read property 'getElementsByMetadataFilePath' of undefined
Internal Diagnostic
TypeError: Cannot read property 'getElementsByMetadataFilePath' of undefined
at C:\Users\M98F393\AppData\Local\sfdx\client\7.84.2-a2868a68d5\node_modules\salesforce-alm\dist\lib\source\aggregateSourceElement.js:241:57
at Array.forEach (
at async SourceDeleteCommand.run (C:\Users\M98F393\AppData\Local\sfdx\client\7.84.2-a2868a68d5\node_modules\salesforce-alm\dist\commands\force\source\delete.js:27:16)
at async SourceDeleteCommand._run (C:\Users\M98F393\AppData\Local\sfdx\client\7.84.2-a2868a68d5\node_modules\@salesforce\command\lib\sfdxCommand.js:81:40)
at async Config.runCommand (C:\Users\M98F393\AppData\Local\sfdx\client\7.84.2-a2868a68d5\node_modules\@oclif\config\lib\config.js:173:24)
at async Main.run (C:\Users\M98F393\AppData\Local\sfdx\client\7.84.2-a2868a68d5\node_modules\@oclif\command\lib\main.js:27:9)
at async Main._run (C:\Users\M98F393\AppData\Local\sfdx\client\7.84.2-a2868a68d5\node_modules\@oclif\command\lib\command.js:43:20)
at async Object.run (C:\Users\M98F393\AppData\Local\sfdx\client\7.84.2-a2868a68d5\dist\cli.js:32:20)
Outer stack:
at Function.wrap (C:\Users\M98F393\AppData\Local\sfdx\client\7.84.2-a2868a68d5\node_modules\@salesforce\core\lib\sfdxError.js:171:27)
at SourceDeleteCommand.catch (C:\Users\M98F393\AppData\Local\sfdx\client\7.84.2-a2868a68d5\node_modules\salesforce-alm\dist\ToolbeltCommand.js:248:46)
at async SourceDeleteCommand._run (C:\Users\M98F393\AppData\Local\sfdx\client\7.84.2-a2868a68d5\node_modules\@salesforce\command\lib\sfdxCommand.js:85:13)
at async Config.runCommand (C:\Users\M98F393\AppData\Local\sfdx\client\7.84.2-a2868a68d5\node_modules\@oclif\config\lib\config.js:173:24)
at async Main.run (C:\Users\M98F393\AppData\Local\sfdx\client\7.84.2-a2868a68d5\node_modules\@oclif\command\lib\main.js:27:9)
at async Main._run (C:\Users\M98F393\AppData\Local\sfdx\client\7.84.2-a2868a68d5\node_modules\@oclif\command\lib\command.js:43:20)
at async Object.run (C:\Users\M98F393\AppData\Local\sfdx\client\7.84.2-a2868a68d5\dist\cli.js:32:20)
sfdx:SourceDeleteCommand ERROR [
sfdx:SourceDeleteCommand '\u001b[1mERROR running force:source:delete: \u001b[22m',
sfdx:SourceDeleteCommand "\u001b[31mCannot read property 'getElementsByMetadataFilePath' of undefined\u001b[39m",
sfdx:SourceDeleteCommand '\u001b[31m\u001b[39m\n' +
sfdx:SourceDeleteCommand '\u001b[31m Internal Diagnostic \u001b[39m\n' +
sfdx:SourceDeleteCommand '\u001b[31m\u001b[39m\n' +
sfdx:SourceDeleteCommand "\u001b[31mTypeError: Cannot read property 'getElementsByMetadataFilePath' of undefined\u001b[39m\n" +
sfdx:SourceDeleteCommand '\u001b[31m at C:\Users\M98F393\AppData\Local\sfdx\client\7.84.2-a2868a68d5\node_modules\salesforce-alm\dist\lib\source\aggregateSourceElement.js:241:57\u001b[39m\n' +
sfdx:SourceDeleteCommand '\u001b[31m at Array.forEach (
Hi guys!
I have the same issue here.
sfdx force:source:delete --sourcepath /home/xunda/projetos/rci-dx/force-app/main/default/classes/CreateOrSyncCaseRestServiceTest.cls --noprompt --dev-debug
Executing: /home/xunda/.local/share/sfdx/client/bin/sfdx force:source:delete --sourcepath /home/xunda/projetos/rci-dx/force-app/main/default/classes/CreateOrSyncCaseRestServiceTest.cls --noprompt --dev-debug
Executing: SFDX_BINPATH=/home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/bin/sfdx /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/bin/node /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/bin/sfdx.js force:source:delete --sourcepath /home/xunda/projetos/rci-dx/force-app/main/default/classes/CreateOrSyncCaseRestServiceTest.cls --noprompt --dev-debug
@oclif/config reading core plugin /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5 +0ms
@oclif/config loadJSON /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/package.json +0ms
@oclif/config loadJSON /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/oclif.manifest.json +2ms
@oclif/config:sfdx-cli using manifest from /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/oclif.manifest.json +0ms
@oclif/config reading user plugins pjson /home/xunda/.local/share/sfdx/package.json +0ms
@oclif/config loadJSON /home/xunda/.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/plugin-config',
'@salesforce/plugin-alias',
'@salesforce/plugin-auth',
'@salesforce/sfdx-trust',
'salesforcedx'
] +10ms
@oclif/config reading core plugin /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@oclif/plugin-autocomplete +0ms
@oclif/config loadJSON /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@oclif/plugin-autocomplete/package.json +13ms
@oclif/config reading core plugin /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@oclif/plugin-commands +0ms
@oclif/config loadJSON /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@oclif/plugin-commands/package.json +1ms
@oclif/config reading core plugin /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@oclif/plugin-help +0ms
@oclif/config loadJSON /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@oclif/plugin-help/package.json +0ms
@oclif/config reading core plugin /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@oclif/plugin-not-found +0ms
@oclif/config loadJSON /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@oclif/plugin-not-found/package.json +0ms
@oclif/config reading core plugin /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@oclif/plugin-plugins +0ms
@oclif/config loadJSON /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@oclif/plugin-plugins/package.json +2ms
@oclif/config reading core plugin /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@oclif/plugin-update +0ms
@oclif/config loadJSON /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@oclif/plugin-update/package.json +0ms
@oclif/config reading core plugin /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@oclif/plugin-warn-if-update-available +0ms
@oclif/config loadJSON /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@oclif/plugin-warn-if-update-available/package.json +0ms
@oclif/config reading core plugin /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@oclif/plugin-which +0ms
@oclif/config loadJSON /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@oclif/plugin-which/package.json +0ms
@oclif/config reading core plugin /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@salesforce/plugin-generator +0ms
@oclif/config loadJSON /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@salesforce/plugin-generator/package.json +0ms
@oclif/config reading core plugin /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@salesforce/plugin-analytics +0ms
@oclif/config loadJSON /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@salesforce/plugin-analytics/package.json +0ms
@oclif/config reading core plugin /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@salesforce/plugin-config +0ms
@oclif/config loadJSON /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@salesforce/plugin-config/package.json +1ms
@oclif/config reading core plugin /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@salesforce/plugin-alias +0ms
@oclif/config loadJSON /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@salesforce/plugin-alias/package.json +0ms
@oclif/config reading core plugin /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@salesforce/plugin-auth +0ms
@oclif/config loadJSON /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@salesforce/plugin-auth/package.json +0ms
@oclif/config reading core plugin /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@salesforce/sfdx-trust +0ms
@oclif/config loadJSON /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@salesforce/sfdx-trust/package.json +0ms
@oclif/config reading core plugin /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/salesforcedx +0ms
@oclif/config loadJSON /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/salesforcedx/package.json +0ms
@oclif/config loadJSON /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@oclif/plugin-autocomplete/oclif.manifest.json +6ms
@oclif/config loadJSON /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@oclif/plugin-commands/oclif.manifest.json +0ms
@oclif/config loadJSON /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@oclif/plugin-help/oclif.manifest.json +1ms
@oclif/config loadJSON /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@oclif/plugin-not-found/oclif.manifest.json +1ms
@oclif/config loadJSON /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@oclif/plugin-plugins/oclif.manifest.json +0ms
@oclif/config loadJSON /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@oclif/plugin-update/oclif.manifest.json +1ms
@oclif/config loadJSON /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@oclif/plugin-warn-if-update-available/oclif.manifest.json +0ms
@oclif/config loadJSON /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@oclif/plugin-which/oclif.manifest.json +1ms
@oclif/config loadJSON /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@salesforce/plugin-generator/oclif.manifest.json +0ms
@oclif/config loadJSON /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@salesforce/plugin-analytics/oclif.manifest.json +1ms
@oclif/config loadJSON /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@salesforce/plugin-config/oclif.manifest.json +1ms
@oclif/config loadJSON /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@salesforce/plugin-alias/oclif.manifest.json +0ms
@oclif/config loadJSON /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@salesforce/plugin-auth/oclif.manifest.json +0ms
@oclif/config loadJSON /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@salesforce/sfdx-trust/oclif.manifest.json +1ms
@oclif/config loadJSON /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/salesforcedx/oclif.manifest.json +1ms
@oclif/config loadJSON /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@salesforce/plugin-generator/.oclif.manifest.json +0ms
@oclif/config loadJSON /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@salesforce/plugin-config/.oclif.manifest.json +0ms
@oclif/config loadJSON /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@salesforce/plugin-alias/.oclif.manifest.json +0ms
@oclif/config loadJSON /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@salesforce/plugin-auth/.oclif.manifest.json +1ms
@oclif/config:@salesforce/plugin-config loading IDs from /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@salesforce/plugin-config/lib/commands +0ms
snapdragon:compiler initializing /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/snapdragon/lib/compiler.js +0ms
snapdragon:parser initializing /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/snapdragon/lib/parser.js +1ms
snapdragon:compiler initializing /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/snapdragon/lib/compiler.js +4ms
snapdragon:parser initializing /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/snapdragon/lib/parser.js +1ms
@oclif/config:@salesforce/plugin-config found commands [ 'config:get', 'config:list', 'config:set', 'config:unset' ] +13ms
@oclif/config:@salesforce/plugin-config require /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@salesforce/plugin-config/lib/commands/config/get.js +1ms
sfdx:core TRACE Setup child 'core:config' logger instance +0ms
@oclif/config:@salesforce/plugin-config require /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@salesforce/plugin-config/lib/commands/config/list.js +326ms
@oclif/config:@salesforce/plugin-config require /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@salesforce/plugin-config/lib/commands/config/set.js +1ms
@oclif/config:@salesforce/plugin-config require /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@salesforce/plugin-config/lib/commands/config/unset.js +3ms
@oclif/config:@salesforce/plugin-alias loading IDs from /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@salesforce/plugin-alias/lib/commands +0ms
@oclif/config:@salesforce/plugin-alias found commands [ 'alias:list', 'alias:set', 'alias:unset' ] +1ms
@oclif/config:@salesforce/plugin-alias require /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@salesforce/plugin-alias/lib/commands/alias/list.js +0ms
@oclif/config:@salesforce/plugin-alias require /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@salesforce/plugin-alias/lib/commands/alias/set.js +3ms
@oclif/config:@salesforce/plugin-alias require /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@salesforce/plugin-alias/lib/commands/alias/unset.js +1ms
@oclif/config:@salesforce/plugin-auth loading IDs from /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@salesforce/plugin-auth/lib/commands +0ms
@oclif/config:@salesforce/plugin-auth found commands [
'auth:list',
'auth:logout',
'auth:device:login',
'auth:jwt:grant',
'auth:sfdxurl:store',
'auth:web:login'
] +1ms
@oclif/config:@salesforce/plugin-auth require /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@salesforce/plugin-auth/lib/commands/auth/list.js +1ms
@oclif/config:@salesforce/plugin-auth require /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@salesforce/plugin-auth/lib/commands/auth/logout.js +3ms
@oclif/config:@salesforce/plugin-auth require /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@salesforce/plugin-auth/lib/commands/auth/device/login.js +12ms
@oclif/config:@salesforce/plugin-auth require /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@salesforce/plugin-auth/lib/commands/auth/jwt/grant.js +5ms
@oclif/config:@salesforce/plugin-auth require /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@salesforce/plugin-auth/lib/commands/auth/sfdxurl/store.js +3ms
@oclif/config:@salesforce/plugin-auth require /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@salesforce/plugin-auth/lib/commands/auth/web/login.js +4ms
@oclif/config:@oclif/plugin-autocomplete using manifest from /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@oclif/plugin-autocomplete/oclif.manifest.json +0ms
@oclif/config:@oclif/plugin-commands using manifest from /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@oclif/plugin-commands/oclif.manifest.json +0ms
@oclif/config:@oclif/plugin-help using manifest from /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@oclif/plugin-help/oclif.manifest.json +0ms
@oclif/config:@oclif/plugin-not-found using manifest from /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@oclif/plugin-not-found/oclif.manifest.json +0ms
@oclif/config:@oclif/plugin-plugins using manifest from /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@oclif/plugin-plugins/oclif.manifest.json +0ms
@oclif/config:@oclif/plugin-update using manifest from /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@oclif/plugin-update/oclif.manifest.json +0ms
@oclif/config:@oclif/plugin-warn-if-update-available using manifest from /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@oclif/plugin-warn-if-update-available/oclif.manifest.json +0ms
@oclif/config:@oclif/plugin-which using manifest from /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@oclif/plugin-which/oclif.manifest.json +0ms
@oclif/config:@salesforce/plugin-analytics using manifest from /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@salesforce/plugin-analytics/oclif.manifest.json +0ms
@oclif/config:@salesforce/sfdx-trust using manifest from /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@salesforce/sfdx-trust/oclif.manifest.json +0ms
@oclif/config:salesforcedx using manifest from /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/salesforcedx/oclif.manifest.json +0ms
@oclif/config loading plugins [
'salesforce-alm',
'@salesforce/plugin-templates',
'@salesforce/sfdx-plugin-lwc-test',
'@salesforce/plugin-custom-metadata',
'@salesforce/plugin-apex',
'@salesforce/plugin-user',
'@salesforce/plugin-schema',
'@salesforce/plugin-limits'
] +550ms
@oclif/config loadJSON /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/salesforcedx/package.json +530ms
@oclif/config loadJSON /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/salesforcedx/package.json +0ms
@oclif/config loadJSON /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/salesforcedx/package.json +0ms
@oclif/config loadJSON /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/salesforcedx/package.json +0ms
@oclif/config loadJSON /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/salesforcedx/package.json +0ms
@oclif/config loadJSON /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/salesforcedx/package.json +0ms
@oclif/config loadJSON /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/salesforcedx/package.json +1ms
@oclif/config loadJSON /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/salesforcedx/package.json +0ms
@oclif/config:@salesforce/plugin-generator using manifest from /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/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'
] +3ms
@oclif/config loadJSON /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@salesforce/plugin-generator/package.json +1ms
@oclif/config loadJSON /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@salesforce/plugin-generator/package.json +0ms
@oclif/config reading core plugin /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@salesforce/plugin-generator/node_modules/@oclif/plugin-help +0ms
@oclif/config loadJSON /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@salesforce/plugin-generator/node_modules/@oclif/plugin-help/package.json +1ms
@oclif/config loadJSON /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/package.json +1ms
@oclif/config loadJSON /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/package.json +2ms
@oclif/config loadJSON /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/package.json +1ms
@oclif/config loadJSON /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/package.json +1ms
@oclif/config loadJSON /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/package.json +1ms
@oclif/config loadJSON /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/package.json +1ms
@oclif/config loadJSON /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/package.json +1ms
@oclif/config loadJSON /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/package.json +1ms
@oclif/config loadJSON /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@salesforce/package.json +0ms
@oclif/config loadJSON /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@salesforce/package.json +0ms
@oclif/config loadJSON /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@salesforce/plugin-generator/node_modules/@oclif/plugin-help/oclif.manifest.json +1ms
@oclif/config reading core plugin /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/salesforce-alm +0ms
@oclif/config loadJSON /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/salesforce-alm/package.json +0ms
@oclif/config reading core plugin /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@salesforce/plugin-templates +0ms
@oclif/config loadJSON /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@salesforce/plugin-templates/package.json +0ms
@oclif/config reading core plugin /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@salesforce/sfdx-plugin-lwc-test +0ms
@oclif/config loadJSON /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@salesforce/sfdx-plugin-lwc-test/package.json +0ms
@oclif/config reading core plugin /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@salesforce/plugin-custom-metadata +0ms
@oclif/config loadJSON /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@salesforce/plugin-custom-metadata/package.json +1ms
@oclif/config reading core plugin /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@salesforce/plugin-apex +0ms
@oclif/config loadJSON /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@salesforce/plugin-apex/package.json +3ms
@oclif/config reading core plugin /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@salesforce/plugin-user +0ms
@oclif/config loadJSON /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@salesforce/plugin-user/package.json +1ms
@oclif/config reading core plugin /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@salesforce/plugin-schema +0ms
@oclif/config loadJSON /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@salesforce/plugin-schema/package.json +0ms
@oclif/config reading core plugin /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@salesforce/plugin-limits +0ms
@oclif/config loadJSON /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@salesforce/plugin-limits/package.json +0ms
@oclif/config loadJSON /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/package.json +0ms
@oclif/config loadJSON /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/package.json +0ms
@oclif/config reading core plugin /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@oclif/plugin-warn-if-update-available +0ms
@oclif/config loadJSON /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@oclif/plugin-warn-if-update-available/package.json +1ms
@oclif/config reading core plugin /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@oclif/plugin-not-found +0ms
@oclif/config loadJSON /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@oclif/plugin-not-found/package.json +1ms
@oclif/config:@oclif/plugin-help using manifest from /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@salesforce/plugin-generator/node_modules/@oclif/plugin-help/oclif.manifest.json +0ms
@oclif/config loadJSON /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/salesforce-alm/oclif.manifest.json +7ms
@oclif/config loadJSON /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@salesforce/plugin-templates/oclif.manifest.json +2ms
@oclif/config loadJSON /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@salesforce/sfdx-plugin-lwc-test/oclif.manifest.json +2ms
@oclif/config loadJSON /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@salesforce/plugin-custom-metadata/oclif.manifest.json +2ms
@oclif/config loadJSON /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@salesforce/plugin-apex/oclif.manifest.json +1ms
@oclif/config loadJSON /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@salesforce/plugin-user/oclif.manifest.json +1ms
@oclif/config loadJSON /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@salesforce/plugin-schema/oclif.manifest.json +0ms
@oclif/config loadJSON /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@salesforce/plugin-limits/oclif.manifest.json +1ms
@oclif/config loadJSON /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@salesforce/plugin-user/.oclif.manifest.json +0ms
@oclif/config loadJSON /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@salesforce/plugin-schema/.oclif.manifest.json +0ms
@oclif/config loadJSON /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@salesforce/plugin-limits/.oclif.manifest.json +0ms
@oclif/config loadJSON /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@oclif/plugin-not-found/oclif.manifest.json +0ms
@oclif/config loadJSON /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@oclif/plugin-warn-if-update-available/oclif.manifest.json +1ms
@oclif/config:@salesforce/plugin-user loading IDs from /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@salesforce/plugin-user/lib/commands +0ms
@oclif/config:@salesforce/plugin-user found commands [
'force:user:create',
'force:user:display',
'force:user:list',
'force:user:password:generate',
'force:user:permset:assign'
] +1ms
@oclif/config:@salesforce/plugin-user require /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@salesforce/plugin-user/lib/commands/force/user/create.js +1ms
@oclif/config:@salesforce/plugin-user require /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@salesforce/plugin-user/lib/commands/force/user/display.js +3ms
@oclif/config:@salesforce/plugin-user require /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@salesforce/plugin-user/lib/commands/force/user/list.js +2ms
@oclif/config:@salesforce/plugin-user require /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@salesforce/plugin-user/lib/commands/force/user/password/generate.js +2ms
@oclif/config:@salesforce/plugin-user require /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@salesforce/plugin-user/lib/commands/force/user/permset/assign.js +2ms
@oclif/config:@salesforce/plugin-schema loading IDs from /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@salesforce/plugin-schema/lib/commands +0ms
@oclif/config:@salesforce/plugin-schema found commands [ 'force:schema:sobject:describe', 'force:schema:sobject:list' ] +1ms
@oclif/config:@salesforce/plugin-schema require /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@salesforce/plugin-schema/lib/commands/force/schema/sobject/describe.js +0ms
@oclif/config:@salesforce/plugin-schema require /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@salesforce/plugin-schema/lib/commands/force/schema/sobject/list.js +4ms
@oclif/config:@salesforce/plugin-limits loading IDs from /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@salesforce/plugin-limits/lib/commands +0ms
@oclif/config:@salesforce/plugin-limits found commands [ 'force:limits:api:display' ] +1ms
@oclif/config:@salesforce/plugin-limits require /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@salesforce/plugin-limits/lib/commands/force/limits/api/display.js +1ms
@oclif/config:@salesforce/plugin-templates using manifest from /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@salesforce/plugin-templates/oclif.manifest.json +0ms
@oclif/config:@salesforce/sfdx-plugin-lwc-test using manifest from /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@salesforce/sfdx-plugin-lwc-test/oclif.manifest.json +0ms
@oclif/config:salesforce-alm using manifest from /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/salesforce-alm/oclif.manifest.json +0ms
@oclif/config:@salesforce/plugin-custom-metadata using manifest from /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@salesforce/plugin-custom-metadata/oclif.manifest.json +0ms
@oclif/config:@salesforce/plugin-apex using manifest from /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@salesforce/plugin-apex/oclif.manifest.json +0ms
@oclif/config:@oclif/plugin-not-found using manifest from /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@oclif/plugin-not-found/oclif.manifest.json +0ms
@oclif/config:@oclif/plugin-warn-if-update-available using manifest from /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@oclif/plugin-warn-if-update-available/oclif.manifest.json +0ms
@oclif/config config done +75ms
sfdx OS: +0ms
sfdx platform: linux +1ms
sfdx architecture: x64 +1ms
sfdx release: 5.4.0-60-generic +0ms
sfdx shell: zsh +0ms
sfdx NODE: +0ms
sfdx version: 12.18.3 +0ms
sfdx CLI: +0ms
sfdx version: 7.84.2-a2868a68d5 +0ms
sfdx channel: stable +0ms
sfdx bin: sfdx +0ms
sfdx data: /home/xunda/.local/share/sfdx +0ms
sfdx cache: /home/xunda/.cache/sfdx +0ms
sfdx config: /home/xunda/.config/sfdx +0ms
sfdx ENV: +1ms
sfdx NODE_OPTIONS: <not set> +0ms
sfdx SFDX_AUTOUPDATE_DISABLE: <not set> +0ms
sfdx SFDX_BINPATH: /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/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> +0ms
sfdx SFDX_UPDATE_INSTRUCTIONS: <not set> +0ms
sfdx ARGS: +0ms
sfdx 0: /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/bin/node +0ms
sfdx 1: /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/bin/sfdx.js +0ms
sfdx 2: force:source:delete +0ms
sfdx 3: --sourcepath +0ms
sfdx 4: /home/xunda/projetos/rci-dx/force-app/main/default/classes/CreateOrSyncCaseRestServiceTest.cls +0ms
sfdx 5: --noprompt +0ms
lazy-require loading type cache from /home/xunda/.cache/sfdx/module-types.json +0ms
lazy-require loaded type cache +1ms
lazy-require parsing type cache +0ms
lazy-require parsed type cache +1ms
lazy-require enabled +0ms
@oclif/config start init hook +14ms
sfdx:@salesforce/plugin-config:hooks:init start /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@salesforce/plugin-config/lib/hooks/init/load_config_meta +0ms
sfdx:core TRACE Setup child 'plugin-config:load_config_meta' logger instance +216ms
sfdx:plugin-config:load_config_meta INFO No config meta found for sfdx-cli +0ms
sfdx:plugin-config:load_config_meta INFO No config meta found for @salesforce/plugin-config +0ms
sfdx:plugin-config:load_config_meta INFO No config meta found for @salesforce/plugin-alias +0ms
sfdx:plugin-config:load_config_meta INFO No config meta found for @salesforce/plugin-auth +0ms
sfdx:plugin-config:load_config_meta INFO No config meta found for @oclif/plugin-autocomplete +1ms
sfdx:plugin-config:load_config_meta INFO No config meta found for @oclif/plugin-commands +0ms
sfdx:plugin-config:load_config_meta INFO No config meta found for @oclif/plugin-help +0ms
sfdx:plugin-config:load_config_meta INFO No config meta found for @oclif/plugin-not-found +0ms
sfdx:plugin-config:load_config_meta INFO No config meta found for @oclif/plugin-plugins +0ms
sfdx:plugin-config:load_config_meta INFO No config meta found for @oclif/plugin-update +0ms
sfdx:plugin-config:load_config_meta INFO No config meta found for @oclif/plugin-warn-if-update-available +0ms
sfdx:plugin-config:load_config_meta INFO No config meta found for @oclif/plugin-which +0ms
sfdx:plugin-config:load_config_meta INFO No config meta found for @salesforce/plugin-analytics +0ms
sfdx:plugin-config:load_config_meta INFO No config meta found for @salesforce/sfdx-trust +0ms
sfdx:plugin-config:load_config_meta INFO No config meta found for salesforcedx +1ms
sfdx:plugin-config:load_config_meta INFO No config meta found for @salesforce/plugin-generator +0ms
sfdx:plugin-config:load_config_meta INFO No config meta found for @salesforce/plugin-user +0ms
sfdx:plugin-config:load_config_meta INFO No config meta found for @salesforce/plugin-schema +0ms
sfdx:plugin-config:load_config_meta INFO No config meta found for @salesforce/plugin-limits +0ms
sfdx:plugin-config:load_config_meta INFO No config meta found for @salesforce/plugin-templates +0ms
sfdx:plugin-config:load_config_meta INFO No config meta found for @salesforce/sfdx-plugin-lwc-test +0ms
sfdx:plugin-config:load_config_meta INFO No config meta found for salesforce-alm +0ms
sfdx:plugin-config:load_config_meta INFO No config meta found for @salesforce/plugin-custom-metadata +0ms
sfdx:plugin-config:load_config_meta INFO No config meta found for @salesforce/plugin-apex +0ms
sfdx:@oclif/plugin-update:hooks:init start /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@oclif/plugin-update/lib/hooks/init +0ms
sfdx:@oclif/plugin-warn-if-update-available:hooks:init start /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@oclif/plugin-warn-if-update-available/lib/hooks/init/check-update +0ms
sfdx:@salesforce/plugin-analytics:hooks:init start /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@salesforce/plugin-analytics/lib/hooks/analyticsInit.js +0ms
sfdx:@salesforce/plugin-config:hooks:init done +35ms
sfdx:@salesforce/plugin-analytics:hooks:init done +1ms
sfdx:@oclif/plugin-update:hooks:init done +29ms
sfdx:@oclif/plugin-warn-if-update-available:hooks:init done +6ms
@oclif/config init hook done +37ms
sfdx init version: @oclif/command@1.8.0 argv: [ 'force:source:delete', '--sourcepath', '/home/xunda/projetos/rci-dx/force-app/main/default/classes/CreateOrSyncCaseRestServiceTest.cls', '--noprompt' ] +0ms
@oclif/config runCommand force:source:delete [ '--sourcepath', '/home/xunda/projetos/rci-dx/force-app/main/default/classes/CreateOrSyncCaseRestServiceTest.cls', '--noprompt' ] +4ms
@oclif/config:salesforce-alm require /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/salesforce-alm/dist/commands/force/source/delete.js +61ms
@oclif/config start prerun hook +181ms
sfdx:@salesforce/plugin-analytics:hooks:prerun start /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@salesforce/plugin-analytics/lib/hooks/analyticsPrerun.js +0ms
sfdx:core TRACE Setup child 'Config' logger instance +227ms
sfdx:core TRACE Setup child 'Config' logger instance +1ms
sfdx:Config INFO Reading config file: /home/xunda/.sfdx/sfdx-config.json +0ms
sfdx:Config INFO Reading config file: /home/xunda/projetos/rci-dx/.sfdx/sfdx-config.json +1ms
sfdx:analytics Usage acknowledgement file already exists +0ms
sfdx:analytics Using analytics logging file /tmp/sfdx-analytics/analytics-b9d8c8613ff6cfa7fe15352541e882093b9f0db3.log +1ms
sfdx:@salesforce/plugin-analytics:hooks:prerun done +15ms
@oclif/config prerun hook done +16ms
sfdx:core TRACE Setup child 'SourceDeleteCommand' logger instance +9ms
sfdx:force:source:delete init version: @oclif/command@1.8.0 argv: [ '--sourcepath', '/home/xunda/projetos/rci-dx/force-app/main/default/classes/CreateOrSyncCaseRestServiceTest.cls', '--noprompt' ] +0ms
sfdx:SourceDeleteCommand INFO Running command [SourceDeleteCommand] with flags [{"sourcepath":["/home/xunda/projetos/rci-dx/force-app/main/default/classes/CreateOrSyncCaseRestServiceTest.cls"],"noprompt":true,"loglevel":"warn","wait":{"quantity":33,"unit":0}}] and args [{}] +0ms
sfdx:core TRACE Setup child 'Org' logger instance +5ms
sfdx:core TRACE Setup child 'Aliases' logger instance +1ms
sfdx:Aliases INFO Reading config file: /home/xunda/.sfdx/alias.json +0ms
sfdx:core TRACE Setup child 'AuthInfo' logger instance +2ms
sfdx:core TRACE Setup child 'crypto' logger instance +2ms
sfdx:crypto DEBUG retryStatus: undefined +0ms
sfdx:core TRACE Setup child 'keyChain' logger instance +1ms
sfdx:keyChain DEBUG platform: linux +0ms
sfdx:core TRACE Setup child 'KeychainConfig' logger instance +4ms
sfdx:KeychainConfig INFO Reading config file: /home/xunda/.sfdx/key.json +0ms
sfdx:core TRACE Setup child 'KeychainConfig' logger instance +2ms
sfdx:KeychainConfig INFO Reading config file: /home/xunda/.sfdx/key.json +2ms
sfdx:core TRACE Setup child 'AuthInfoConfig' logger instance +2ms
sfdx:AuthInfoConfig INFO Reading config file: /home/xunda/.sfdx/wonder@user.com.json +0ms
sfdx:AuthInfo INFO Updated auth info for username: wonder@user.com +0ms
sfdx:AuthInfo INFO Returning fields for a connection using OAuth config. +0ms
sfdx:core TRACE Setup child 'connection' logger instance +4ms
sfdx:connection DEBUG request: {"method":"GET","url":"https://wonder--environment.my.salesforce.com/services/data","headers":{"content-type":"application/json","user-agent":"sfdx toolbelt:"}} +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],[object Object],[object Object] +951ms
sfdx:core TRACE Setup child 'SourceDeployApi' logger instance +1s
sfdx:core TRACE Setup child 'SourceDeployApi' logger instance +2ms
sfdx:SourceDeployApi DEBUG mode: 1 +0ms
sfdx:core TRACE Setup child 'SfdxProjectJson' logger instance +1ms
sfdx:SfdxProjectJson INFO Reading config file: /home/xunda/projetos/rci-dx/sfdx-project.json +0ms
sfdx:SfdxProjectJson TRACE Setup child 'SchemaValidator' logger instance +3ms
sfdx:SchemaValidator DEBUG Schema loaded for /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@salesforce/schemas/sfdx-project.schema.json +0ms
sfdx:core TRACE Setup child 'SourceWorkspaceAdapter' logger instance +17ms
sfdx:core TRACE Setup child 'SourcePathStatusManager' logger instance +19ms
sfdx:core TRACE Setup child 'FileMoves' logger instance +1ms
sfdx:core TRACE Setup child 'Workspace' logger instance +1ms
sfdx:core TRACE Setup child 'Workspace' logger instance +1ms
sfdx:Workspace INFO Reading config file: /home/xunda/projetos/rci-dx/.sfdx/orgs/wonder@user.com/sourcePathInfos.json +0ms
sfdx:Workspace DEBUG Initializing stateless workspace +2ms
sfdx:core TRACE Setup child 'SourceLocations' logger instance +6ms
sfdx:SourceWorkspaceAdapter DEBUG this.wsPath: /home/xunda/projetos/rci-dx +0ms
sfdx:SourceWorkspaceAdapter DEBUG this.defaultPackagePath: force-app +0ms
sfdx:SourceWorkspaceAdapter DEBUG this.defaultSrcDir: /home/xunda/projetos/rci-dx/force-app/main/default +1ms
sfdx:SourceWorkspaceAdapter DEBUG this.fromConvert: true +1ms
sfdx:SourceWorkspaceAdapter DEBUG this.isStateless: true +0ms
sfdx:core TRACE Setup child 'SourceUtil' logger instance +10ms
sfdx:SourceUtil INFO Created output directory '/tmp/sdx_sourceDeploy_1612484823880' +0ms
sfdx:core TRACE Setup child 'SourceElementsResolver' logger instance +5ms
sfdx:SourceDeployApi INFO Deploying metadata in sourcepath '/home/xunda/projetos/rci-dx/force-app/main/default/classes/CreateOrSyncCaseRestServiceTest.cls' to org: 'wonder@user.com' +61ms
sfdx:core TRACE Setup child 'SourceUtil' logger instance +713ms
sfdx:core TRACE Setup child 'SfdxProjectJson' logger instance +3ms
sfdx:SfdxProjectJson INFO Reading config file: /home/xunda/.sfdx/sfdx-project.json +773ms
sfdx:SfdxProjectJson TRACE Setup child 'SchemaValidator' logger instance +1ms
sfdx:SchemaValidator DEBUG Schema loaded for /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@salesforce/schemas/sfdx-project.schema.json +774ms
sfdx:SfdxProjectJson WARN The config file: /home/xunda/.sfdx/sfdx-project.json is not schema valid
sfdx:SfdxProjectJson Due to: Validation errors:
sfdx:SfdxProjectJson should have required property 'packageDirectories' +6ms
sfdx:SfdxProjectJson INFO Reading config file: /home/xunda/.sfdx/sfdx-project.json +1ms
sfdx:SfdxProjectJson TRACE Setup child 'SchemaValidator' logger instance +1ms
sfdx:SchemaValidator DEBUG Schema loaded for /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@salesforce/schemas/sfdx-project.schema.json +8ms
sfdx:SfdxProjectJson WARN The config file: /home/xunda/.sfdx/sfdx-project.json is not schema valid
sfdx:SfdxProjectJson Due to: Validation errors:
sfdx:SfdxProjectJson should have required property 'packageDirectories' +3ms
sfdx:SfdxProjectJson INFO Reading config file: /home/xunda/projetos/rci-dx/sfdx-project.json +0ms
sfdx:SfdxProjectJson TRACE Setup child 'SchemaValidator' logger instance +1ms
sfdx:SchemaValidator DEBUG Schema loaded for /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@salesforce/schemas/sfdx-project.schema.json +4ms
ERROR running force:source:delete: Cannot read property 'getElementsByMetadataFilePath' of undefined
*** Internal Diagnostic ***
TypeError: Cannot read property 'getElementsByMetadataFilePath' of undefined
at /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/salesforce-alm/dist/lib/source/aggregateSourceElement.js:241:57
at Array.forEach (<anonymous>)
at AggregateSourceElement.markForDelete (/home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/salesforce-alm/dist/lib/source/aggregateSourceElement.js:234:18)
at /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/salesforce-alm/dist/lib/source/sourceDeployApi.js:182:25
at Array.some (<anonymous>)
at /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/salesforce-alm/dist/lib/source/sourceDeployApi.js:177:40
at Array.forEach (<anonymous>)
at SourceDeployApi._handleDelete (/home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/salesforce-alm/dist/lib/source/sourceDeployApi.js:176:37)
at SourceDeployApi.doDeploy (/home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/salesforce-alm/dist/lib/source/sourceDeployApi.js:82:54)
at async SourceDeleteCommand.execLegacyCommand (/home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/salesforce-alm/dist/ToolbeltCommand.js:149:29)
at async SourceDeleteCommand.run (/home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/salesforce-alm/dist/commands/force/source/delete.js:27:16)
at async SourceDeleteCommand._run (/home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@salesforce/command/lib/sfdxCommand.js:81:40)
at async Config.runCommand (/home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@oclif/config/lib/config.js:173:24)
at async Main.run (/home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@oclif/command/lib/main.js:27:9)
at async Main._run (/home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@oclif/command/lib/command.js:43:20)
at async Object.run (/home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/dist/cli.js:32:20)
Outer stack:
at Function.wrap (/home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@salesforce/core/lib/sfdxError.js:171:27)
at SourceDeleteCommand.catch (/home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/salesforce-alm/dist/ToolbeltCommand.js:248:46)
at async SourceDeleteCommand._run (/home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@salesforce/command/lib/sfdxCommand.js:85:13)
at async Config.runCommand (/home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@oclif/config/lib/config.js:173:24)
at async Main.run (/home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@oclif/command/lib/main.js:27:9)
at async Main._run (/home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@oclif/command/lib/command.js:43:20)
at async Object.run (/home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/dist/cli.js:32:20)
******
sfdx:SourceDeleteCommand ERROR [
sfdx:SourceDeleteCommand '\u001b[1mERROR running force:source:delete: \u001b[22m',
sfdx:SourceDeleteCommand "\u001b[31mCannot read property 'getElementsByMetadataFilePath' of undefined\u001b[39m",
sfdx:SourceDeleteCommand '\u001b[31m\u001b[39m\n' +
sfdx:SourceDeleteCommand '\u001b[31m*** Internal Diagnostic ***\u001b[39m\n' +
sfdx:SourceDeleteCommand '\u001b[31m\u001b[39m\n' +
sfdx:SourceDeleteCommand "\u001b[31mTypeError: Cannot read property 'getElementsByMetadataFilePath' of undefined\u001b[39m\n" +
sfdx:SourceDeleteCommand '\u001b[31m at /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/salesforce-alm/dist/lib/source/aggregateSourceElement.js:241:57\u001b[39m\n' +
sfdx:SourceDeleteCommand '\u001b[31m at Array.forEach (<anonymous>)\u001b[39m\n' +
sfdx:SourceDeleteCommand '\u001b[31m at AggregateSourceElement.markForDelete (/home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/salesforce-alm/dist/lib/source/aggregateSourceElement.js:234:18)\u001b[39m\n' +
sfdx:SourceDeleteCommand '\u001b[31m at /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/salesforce-alm/dist/lib/source/sourceDeployApi.js:182:25\u001b[39m\n' +
sfdx:SourceDeleteCommand '\u001b[31m at Array.some (<anonymous>)\u001b[39m\n' +
sfdx:SourceDeleteCommand '\u001b[31m at /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/salesforce-alm/dist/lib/source/sourceDeployApi.js:177:40\u001b[39m\n' +
sfdx:SourceDeleteCommand '\u001b[31m at Array.forEach (<anonymous>)\u001b[39m\n' +
sfdx:SourceDeleteCommand '\u001b[31m at SourceDeployApi._handleDelete (/home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/salesforce-alm/dist/lib/source/sourceDeployApi.js:176:37)\u001b[39m\n' +
sfdx:SourceDeleteCommand '\u001b[31m at SourceDeployApi.doDeploy (/home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/salesforce-alm/dist/lib/source/sourceDeployApi.js:82:54)\u001b[39m\n' +
sfdx:SourceDeleteCommand '\u001b[31m at async SourceDeleteCommand.execLegacyCommand (/home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/salesforce-alm/dist/ToolbeltCommand.js:149:29)\u001b[39m\n' +
sfdx:SourceDeleteCommand '\u001b[31m at async SourceDeleteCommand.run (/home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/salesforce-alm/dist/commands/force/source/delete.js:27:16)\u001b[39m\n' +
sfdx:SourceDeleteCommand '\u001b[31m at async SourceDeleteCommand._run (/home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@salesforce/command/lib/sfdxCommand.js:81:40)\u001b[39m\n' +
sfdx:SourceDeleteCommand '\u001b[31m at async Config.runCommand (/home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@oclif/config/lib/config.js:173:24)\u001b[39m\n' +
sfdx:SourceDeleteCommand '\u001b[31m at async Main.run (/home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@oclif/command/lib/main.js:27:9)\u001b[39m\n' +
sfdx:SourceDeleteCommand '\u001b[31m at async Main._run (/home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@oclif/command/lib/command.js:43:20)\u001b[39m\n' +
sfdx:SourceDeleteCommand '\u001b[31m at async Object.run (/home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/dist/cli.js:32:20)\u001b[39m\n' +
sfdx:SourceDeleteCommand '\u001b[31mOuter stack:\u001b[39m\n' +
sfdx:SourceDeleteCommand '\u001b[31m at Function.wrap (/home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@salesforce/core/lib/sfdxError.js:171:27)\u001b[39m\n' +
sfdx:SourceDeleteCommand '\u001b[31m at SourceDeleteCommand.catch (/home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/salesforce-alm/dist/ToolbeltCommand.js:248:46)\u001b[39m\n' +
sfdx:SourceDeleteCommand '\u001b[31m at async SourceDeleteCommand._run (/home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@salesforce/command/lib/sfdxCommand.js:85:13)\u001b[39m\n' +
sfdx:SourceDeleteCommand '\u001b[31m at async Config.runCommand (/home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@oclif/config/lib/config.js:173:24)\u001b[39m\n' +
sfdx:SourceDeleteCommand '\u001b[31m at async Main.run (/home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@oclif/command/lib/main.js:27:9)\u001b[39m\n' +
sfdx:SourceDeleteCommand '\u001b[31m at async Main._run (/home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@oclif/command/lib/command.js:43:20)\u001b[39m\n' +
sfdx:SourceDeleteCommand '\u001b[31m at async Object.run (/home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/dist/cli.js:32:20)\u001b[39m\n' +
sfdx:SourceDeleteCommand '\u001b[31m******\u001b[39m\n' +
sfdx:SourceDeleteCommand '\u001b[31m\u001b[39m'
sfdx:SourceDeleteCommand ] +2s
sfdx:core TRACE Setup child 'Org' logger instance +24ms
sfdx:core TRACE Setup child 'Aliases' logger instance +1ms
sfdx:Aliases INFO Reading config file: /home/xunda/.sfdx/alias.json +2s
@oclif/config start postrun hook +2s
@oclif/config postrun hook done +1ms
sfdx:core TRACE Setup child 'AuthInfo' logger instance +6ms
sfdx:core TRACE Setup child 'crypto' logger instance +2ms
sfdx:crypto DEBUG retryStatus: undefined +2s
sfdx:core TRACE Setup child 'keyChain' logger instance +2ms
sfdx:keyChain DEBUG platform: linux +2s
sfdx:core TRACE Setup child 'KeychainConfig' logger instance +1ms
sfdx:KeychainConfig INFO Reading config file: /home/xunda/.sfdx/key.json +2s
sfdx:core TRACE Setup child 'KeychainConfig' logger instance +3ms
sfdx:KeychainConfig INFO Reading config file: /home/xunda/.sfdx/key.json +2ms
sfdx:AuthInfo INFO Updated auth info for username: wonder@user.com +2s
sfdx:AuthInfo INFO Returning fields for a connection using OAuth config. +0ms
sfdx:core TRACE Setup child 'connection' logger instance +3ms
sfdx:connection DEBUG request: {"method":"GET","url":"https://wonder--environment.my.salesforce.com/services/data","headers":{"content-type":"application/json","user-agent":"sfdx toolbelt:"}} +1s
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],[object Object],[object Object] +731ms
sfdx:connection DEBUG request: {"method":"GET","url":"https://wonder--environment.my.salesforce.com/services/data/v51.0/query?q=SELECT%20CreatedDate%2CEdition%2CExpirationDate%20FROM%20ActiveScratchOrg%20WHERE%20ScratchOrg%3D'00D2f0000000uoe'","headers":{"content-type":"application/json","user-agent":"sfdx toolbelt:"}} +2ms
lazy-require saving type cache to /home/xunda/.cache/sfdx/module-types.json +4s
lazy-require no changes to save +1ms
sfdx:analytics Spawning "/home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/bin/node /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@salesforce/plugin-analytics/processes/upload /home/xunda/.cache/sfdx /tmp/sfdx-analytics/analytics-b9d8c8613ff6cfa7fe15352541e882093b9f0db3.log" +3s
Exact same issue here.
sfdx --version
returns sfdx-cli/7.84.2-a2868a68d5 win32-x64 node-v12.18.3
VS Code Extension is version 50.16.0
Steps to repro:
sfdx update
ERROR running force:source:delete: Cannot read property 'getElementsByMetadataFilePath' of undefined
I also tried running the command directly using the CLI with sfdx force:source:delete --sourcepath c:\path\to\code\ApexClass.cls --dev-debug
, and got the exact same stack trace as above.
Workaround: downgrade your plugin sfdx plugins:install salesforcedx@50.12.0
As I can see, 50.12.0 is the last properly working version of salesforcedx
sfdx plugin:install salesforcedx@50.12.0
FYI there's a typo in the command. should be-
sfdx plugins:install salesforcedx@50.12.0
FYI there's a typo in the command.
Fixed. Thanks :)
Hey there,
any updates regarding this issue?
No update other than I increased the priority of this since it's a regression. Working on a fix asap.
Is there any workaround in the meantime?
A couple of posts up there is a workaround, install other version of dx. I have implemented a workaround in our pipeline with a good old destructive package and a mdapi deploy command. Works, but i'm not really happy with the solution :)
Having the same issue. Can confirm that downgrading to 50.12.0 resolved it as a workaround.
Same issue here. I'm also unable to re-deploy existing pages. The deploy error tells me "That page name is already in use, please choose a different one." This just started happening.
Hi @pbergner @Dane86NN @mwhisker if you have a npm based installation you can run npm install sfdx-cli@latest-rc -g
and that version should contain a fix for the source:delete
issue
@volkanunsal that sounds like a different issue be best tracked under a new issue
closing this since the fix shipped.
Summary
We have a CI process that creates developer sandboxes for users through the force:org:create command. When the org is created we login and delete some environment (production) specific information, for example NamedCredentials. We first retrieve the metadata with a retrieve command and then delete it with a delete command. This used to work, but now this is broken. The retrieve is working as planned, but when i try to do detele the metadata locally or in Azure Devops cli gives the following error:
ERROR running force:source:delete: Cannot read property 'getElementsByMetadataFilePath' of undefined
Steps To Reproduce:
Expected result
The retrieved metadata is deleted in the project and the org
Actual result
ERROR running force:source:delete: Cannot read property 'getElementsByMetadataFilePath' of undefined
Additional information
Feel free to attach a screenshot.
SFDX CLI Version(to find the version of the CLI engine run sfdx --version): sfdx-cli/7.84.2-a2868a68d5 win32-x64 node-v12.18.3
SFDX plugin Version(to find the version of the CLI plugin run sfdx plugins --core)
@oclif/plugin-autocomplete 0.1.5 (core) @oclif/plugin-commands 1.3.0 (core) @oclif/plugin-help 3.2.1 (core) @oclif/plugin-not-found 1.2.4 (core) @oclif/plugin-plugins 1.9.5 (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.6.0 (core) alias 1.1.5 (core) analytics 1.12.1 (core) auth 1.4.6 (core) config 1.2.3 (core) generator 1.1.3 (core) salesforcedx 50.13.3 (core) ├─ user 1.0.5 (core) ├─ limits 1.0.2 (core) ├─ schema 1.0.3 (core) ├─ @salesforce/sfdx-plugin-lwc-test 0.1.7 (core) ├─ apex 0.1.4 (core) ├─ custom-metadata 1.0.11 (core) ├─ templates 50.4.0 (core) └─ salesforce-alm 50.13.1 (core)
OS and version: Windows 10