Jira config returns error
Closed this issue · 6 comments
angelod1as commented
Running jira config
for the first time returns:
TypeError: program.prompt is not a function
at Object.ask (/Users/angelo/.config/yarn/global/node_modules/jira-cmd/lib/auth.js:48:17)
at Object.setConfig (/Users/angelo/.config/yarn/global/node_modules/jira-cmd/lib/auth.js:69:14)
at Command.<anonymous> (/Users/angelo/.config/yarn/global/node_modules/jira-cmd/bin/jira.js:374:14)
at Command.listener [as _actionHandler] (/Users/angelo/.config/yarn/global/node_modules/commander/index.js:922:31)
at Command._parseCommand (/Users/angelo/.config/yarn/global/node_modules/commander/index.js:1503:14)
at Command._dispatchSubcommand (/Users/angelo/.config/yarn/global/node_modules/commander/index.js:1443:18)
at Command._parseCommand (/Users/angelo/.config/yarn/global/node_modules/commander/index.js:1460:12)
at Command.parse (/Users/angelo/.config/yarn/global/node_modules/commander/index.js:1292:10)
at /Users/angelo/.config/yarn/global/node_modules/jira-cmd/bin/jira.js:412:11
at Object.execCb (/Users/angelo/.config/yarn/global/node_modules/requirejs/bin/r.js:1941:33)
palashkulsh commented
@angelod1as can you please share node, npm or yarn version you are using.
operating system you are using?
and command you used to install jira-cmd
it will help in debugging
angelod1as commented
@palashkulsh sorry, my bad.
- yarn 1.22.19
- macOS 12.5 (21G72)
yarn global add jira-cmd
palashkulsh commented
tested it with fresh installation, its working on my system : (
angelod1as commented
I removed it and re-installed it. Then, I do as the docs explain and run jira
for the first time. Instead of login, it gives me:
~ ❯ jira took 7s at 09:47:16
Usage: jira [options] [command]
Options:
-V, --version output the version number
-h, --help display help for command
Commands:
ls [options] List my issues
start <issue> Start working on an issue.
... (it shows the whole help output)
Is the docs misleading?
When I go to $HOME/.jira
: cd: no such file or directory: /Users/angelo/.jira
palashkulsh commented
please try running jira ls command
…On Mon, Sep 5, 2022 at 1:20 PM Angelo Dias ***@***.***> wrote:
I removed it and re-installed it. Then, I do as the docs explain and run
jira for the first time. Instead of login, it gives me:
~ ❯ jira took 7s at 09:47:16
Usage: jira [options] [command]
Options:
-V, --version output the version number
-h, --help display help for command
Commands:
ls [options] List my issues
start <issue> Start working on an issue.
... (it shows the whole help output)
Is the docs misleading?
When I go to $HOME/.jira: cd: no such file or directory:
/Users/angelo/.jira
—
Reply to this email directly, view it on GitHub
<#133 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABLYFLYGMDRS2INLOHHIZ5LV4WQ3XANCNFSM55RXKGIQ>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
--
Regards
Palash Kulshreshtha
paytm
+91 9027450334
palashkulsh commented
If you are still facing the issue please feel free to reopen the issue, and we'll solve it together : ) .