hardisgroupcom / sfdx-hardis

Swiss-army-knife Toolbox for Salesforce. Orchestrates base commands and assist users with interactive wizards to make much more than native sfdx + Allows you to define a complete CI/CD Pipeline and Schedule a daily Metadata backup & monitoring of your orgs
https://sfdx-hardis.cloudity.com
GNU Affero General Public License v3.0
194 stars 35 forks source link

Bug (Alpha) Cannot read properties of undefined (reading 'debugMode') #788

Closed readeral closed 1 week ago

readeral commented 2 weeks ago

When using alpha build v5.0.1-alpha202409162139.0, sf hardis:org:data:delete throws the following error:

Cannot read properties of undefined (reading 'debugMode')

Issue is not present running in v4.53.0

I've chased it down and the error is throwing at orgUtils.ts line 584, this is undefined.

Perhaps it hasn't become evident because jsforce connection is normally available, and maybe it could be because of how I've installed the alpha plugin that it uses CLI command instead? But even so, the CLI command is failing

nvuillam commented 2 weeks ago

@readeral thanks for reporting :) I just fixed it, i'll release it in the next alpha :)

nvuillam commented 1 week ago

@readeral solved in latest alpha, if you want to try :)