Closed traeok closed 1 month ago
Thank you for creating a bug report. We will investigate the bug and evaluate its impact on the product. If you haven't already, please ensure you have provided steps to reproduce the bug and as much context as possible.
Cause
require.main
is undefined in the Node.js REPL and in ESM environments, causing an unhandled TypeError to occur before Imperative can finish initializing the default credential manager.Discussed in https://github.com/zowe/zowe-cli/discussions/2295: