[ERROR] [CredentialManagerFactory.js:148]
search cancel

[ERROR] [CredentialManagerFactory.js:148]

book

Article ID: 275971

calendar_today

Updated On:

Products

Brightside

Issue/Introduction

When enter the zowe command at the Command Prompt, the following error message is output.

C:\Users\xxxxxxxx>zowe
[yyyy/mm/dd hh:mm:ss.767] [ERROR] [CredentialManagerFactory.js:148] Failed to override the credential manager with one provided by "@zowe/cli"
[yyyy/mm/dd hh:mm:ss.768] [ERROR] [CredentialManagerFactory.js:150] You attempted to override the "CredentialManager" setting with a plugin named "@zowe/cli" that is not installed and loadable.

 

Environment

Brightside v3.0
Zowe cli V1
Zowe Explorer V2

 

Resolution

Try the following steps:
1. Rename or delete all the existing profiles (including team config and V1 profile). 

2. Uninstall zowe plugin.
    Command:

     zowe plugins uninstall @zowe/secure-credential-store-for-zowe-cli

3. Update json file.
    Navigate to the .zowe/settings folder on the PC.
    Modify the imperative.json file by replacing the Credential Manager override value to the following:

    From

     "CredentialManager": "@zowe/cli"

    To

     "CredentialManager": false

4. Save the file.

 

Note:
One thing to note is that if Zowe Explorer V2 is installed when you run VS Code, it will overwrite imperative.json and set CredentialManager to @zowe/cli, which will not work for CLI V1.