Open akhilshastri opened 7 years ago
What do you mean busy? Nothing looks wrong in the screenshot.
I cannot type any further command
same problem on windows with 1.12.0 see #249
I don't have a Windows machine, so if you guys could help pinpoint where the issue is, I can dig into it.
@kesslerdev , yes it is the same issue with MAC also, i tried with version "version": "1.11.4", and "version": "1.12.0" both on MAC Sierra 10.12.5
In fact, just to test vorpal behaviour, i tried installing cash in global by npm install cash -g but it has same issue, i am not able to input any command after first replay ( response from cli)
@milesj it's the same issue on MAC also #249
I wonder if a dependency is being auto-updated to a newer version based on our ^
matching. This would explain the sudden breakage.
just to add here, my node version is 8.1.0
i guess i got the issue, its with node version only, when i down grade the node version 7.10.0, it's working as expected :)
Thanks for your support.
I'll leave this open as it's still an issue.
Hi, I am trying below sample code on my MAC `
!/usr/bin/env node
const vorpal = require('vorpal')();
vorpal .command('say [words...]') .option('-b, --backwards') .option('-t, --twice') .action(function (args, callback) { let str = args.words.join(' '); str = (args.options.backwards) ? str.split('').reverse().join('') : str; this.log(str); callback(); });
vorpal.show();`
after that I did npm link to set it in global,
when I executed js-cli the terminal window becomes busy,![image](https://user-images.githubusercontent.com/8503650/28226780-fb961292-68f4-11e7-8ee4-de18c26af2ed.png)