Skip to content
This repository has been archived by the owner on Nov 13, 2023. It is now read-only.

zowe config auto-init fails when typeless profiles exist in config #810

Closed
t1m0thyj opened this issue Apr 29, 2022 · 0 comments · Fixed by #811
Closed

zowe config auto-init fails when typeless profiles exist in config #810

t1m0thyj opened this issue Apr 29, 2022 · 0 comments · Fixed by #811
Assignees
Labels
bug Something isn't working

Comments

@t1m0thyj
Copy link
Member

$ zowe config auto-init
...
Unexpected Command Error:
Please review the message and stack below.
Contact the creator of handler:
"C:\Users\Timothy\AppData\Roaming\npm\node_modules\@zowe\cli\lib/config/auto-init/ApimlAutoInitHandler"
Message:
Cannot read properties of undefined (reading 'type')
Stack:
TypeError: Cannot read properties of undefined (reading 'type')
    at ApimlAutoInitHandler.recordOneProfChange (C:\Users\Timothy\AppData\Roaming\npm\node_modules\@zowe\cli\lib\config\auto-init\ApimlAutoInitHandler.js:397:35)
    at ApimlAutoInitHandler.recordProfileUpdates (C:\Users\Timothy\AppData\Roaming\npm\node_modules\@zowe\cli\lib\config\auto-init\ApimlAutoInitHandler.js:361:30)
    at ApimlAutoInitHandler.displayAutoInitChanges (C:\Users\Timothy\AppData\Roaming\npm\node_modules\@zowe\cli\lib\config\auto-init\ApimlAutoInitHandler.js:132:14)
    at ApimlAutoInitHandler.<anonymous> (C:\Users\Timothy\AppData\Roaming\npm\node_modules\@zowe\cli\node_modules\@zowe\imperative\lib\imperative\src\config\cmd\auto-init\handlers\BaseAutoInitHandler.js:129:22)
    at Generator.next (<anonymous>)
    at fulfilled (C:\Users\Timothy\AppData\Roaming\npm\node_modules\@zowe\cli\node_modules\@zowe\imperative\lib\imperative\src\config\cmd\auto-init\handlers\BaseAutoInitHandler.js:15:58)
@t1m0thyj t1m0thyj added the bug Something isn't working label Apr 29, 2022
@t1m0thyj t1m0thyj self-assigned this May 2, 2022
@t1m0thyj t1m0thyj transferred this issue from zowe/zowe-cli May 3, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant