Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
psagredo99 opened this issue Jun 25, 2024 · 1 comment
Open

Comments

@psagredo99
Copy link

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
Copy link
Member

nvuillam commented Jun 26, 2024

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 :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants