Installing it with yarn leads to a crash on it's initial run
JacopKane opened this issue · comments
Furkan Tunalı commented
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)```
Furkan Tunalı commented
Apparently, it's working fine when installed with npm
but yarn
palash kulshreshtha commented
I haven't tried installing it with yarn, did you find anything useful?
palash kulshreshtha commented
@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 : ) .
Lucien PESLIER commented
@palashkulsh still the same issue here. I can work on it with you if you want :)
palash kulshreshtha commented
@HeadFox that would be so great :)
palash kulshreshtha commented
@HeadFox did you get a chance to look into it?
Lucien PESLIER commented
Hey !! Sorry I was busy these days !
I tried again and it seems to work now ! Maybe the problem came from yarn itself
@palashkulsh
palash kulshreshtha commented
no problem @HeadFox , glad it works now : )