-
I am facing the same issue in fixing this, if anyone can able to help, pls do. i referred this case, while fixing it. Old code: const zowe = require('@zowe/cli') let userTSO = process.env.MF_USER_TSO; router.get('/getbulletin', async (req, res) => {
}); New code: const zowe = require('@zowe/cli') router.get('/getbulletin', async (req, res) => {
}); Error received : |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
@inv9wj1 Here are two methods that should work to convert the
|
Beta Was this translation helpful? Give feedback.
@inv9wj1 Here are two methods that should work to convert the
profile
object into a session class:addPropsOrPrompt
method must be awaited. It will issue a CLI prompt for host/user/password if they are missing.createSession
method.