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
169 stars 29 forks source link

Error Cannot read properties of undefined when creating new task. #630

Open psagredo99 opened 1 week ago

psagredo99 commented 1 week ago

Hi,

I have been testing the tool and learning some git, it actually works like a charm but i have a small issue.

When trying to "Start a new task" all goes fine until last etep where command executes where i get :

ERROR running hardis:work:new: Cannot read properties of undefined (reading 'includes')

I suppose is some kink of file or configuration that is not being able to find but i have no clue on where to look or reserach. . Ive tried to start project from 0 and same issue.

Any clue? Thanks in advance for any help and dont want to disturb (=

Also a question i usually get, ¿how do i know if a task has been created or in which task im currently working? ¿It is defined by the branch im working on?

image

nvuillam commented 1 week ago

Hmmm that's strange ^^

Please can you share your .sfdx-hardis.yml ?

And share the log id your run hardis:work:new with --dev-debug option ?

and the result of sfdx force:org:list --json ?

(anonymize results or mail me if there is sensitive info ^^)

And new task is indeed create branch + select sandbox or create scratch org + init if requested :)