palashkulsh / jira-cmd

Another JIRA Command Line Interface for node.js

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Installing it with yarn leads to a crash on it's initial run

JacopKane opened this issue · comments

Happens on the first run.

TypeError: program.prompt is not a function
    at Object.ask (/Users/furkantunali/.config/yarn/global/node_modules/cmd-jira/lib/auth.js:48:25)
    at Object.setConfig (/Users/furkantunali/.config/yarn/global/node_modules/cmd-jira/lib/auth.js:68:22)
    at Command.<anonymous> (/Users/furkantunali/.config/yarn/global/node_modules/cmd-jira/bin/jira.js:48:18)
    at Command.listener (/Users/furkantunali/.config/yarn/global/node_modules/commander/index.js:315:8)
    at Command.emit (events.js:182:13)
    at Command.parseArgs (/Users/furkantunali/.config/yarn/global/node_modules/commander/index.js:651:12)
    at Command.parse (/Users/furkantunali/.config/yarn/global/node_modules/commander/index.js:474:21)
    at /Users/furkantunali/.config/yarn/global/node_modules/cmd-jira/bin/jira.js:404:13
    at Object.execCb (/Users/furkantunali/.config/yarn/global/node_modules/requirejs/bin/r.js:1941:33)
    at Module.check (/Users/furkantunali/.config/yarn/global/node_modules/requirejs/bin/r.js:1116:51)```

Apparently, it's working fine when installed with npm but yarn

I haven't tried installing it with yarn, did you find anything useful?

@JacopKane still facing the issue?
If you are still facing the issue please feel free to reopen the issue, and we'll solve it together : ) .

@palashkulsh still the same issue here. I can work on it with you if you want :)

@HeadFox that would be so great :)

@HeadFox did you get a chance to look into it?

Hey !! Sorry I was busy these days !
I tried again and it seems to work now ! Maybe the problem came from yarn itself
@palashkulsh

no problem @HeadFox , glad it works now : )