tj / co-prompt

sane terminal user-input for node.js using thunks / generators
192 stars 23 forks source link

prompt.password is not working on windows #13

Open Vinayk93 opened 6 years ago

Vinayk93 commented 6 years ago

I tried to get password from gitbash then it showing error

Unhandled Rejection at: Promise {
<rejected> TypeError: process.stdin.setRawMode is not a functions
at ..\node_modules\co-promt\index.js:71:19

after commenting this, passoword take every key as a input. I will try to solve this weekend, Small help will be appreciated.