Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Buggy on windows #48

Closed
danielchatfield opened this issue Jul 26, 2013 · 9 comments
Closed

Buggy on windows #48

danielchatfield opened this issue Jul 26, 2013 · 9 comments

Comments

@danielchatfield
Copy link
Collaborator

I'm using windows 8.

var inquirer = require('inquirer');

var prompts = [{
  name: 'test',
  message: 'Enter a test value',
  type: 'list',
  choices: ['Option 1', 'Option 2', 'Option 3']
}]; 

inquirer.prompt(prompts, function (props) {})

This renders as expected but you can't interact with it. (output isn't muted)

To get around it I have to hit enter first which is pretty annoying. This also causes the clean() to leave a line.

@SBoudrias
Copy link
Owner

Using the cmd? I can't reproduce here on Win 7

@danielchatfield
Copy link
Collaborator Author

I just tried to reproduce on my laptop (also on win 8) and couldn't so I'm going to close this and assume that my system is wonky until further information.

@danielchatfield
Copy link
Collaborator Author

I have identified what the problem is (after manually going through comparing running processes between laptop and desktop).

In Windows 8 there is an application (LiveComm.exe) which is used by the mail and messenger metro apps. When this is running (does automatically if mail or messenger apps are configured) inquirer does not work properly.

I have filed a bug report with Microsoft (although I had to do it against PowerShell so I'm hoping it will find it's way to the right person).

@satazor
Copy link

satazor commented Aug 18, 2013

I'm also experiencing this (I'm implementing Inquirer on bower package manager). Sometimes, we need to double hit enter to pass to the second question; this happens only on the first question. I've killed LiveComm.exe and the problem persisted. I think this needs to be re-open for further investigation.

@danielchatfield
Copy link
Collaborator Author

Are you using latest inquirer, It's been fixed in another issue.

On Sunday, 18 August 2013, André Cruz wrote:

I'm also experiencing this (I'm implementing Inquirer on bower package
manager). Sometimes, we need to double hit enter to pass to another
question. I've killed LiveComm.exe and the problem persisted. I think
this needs to be re-open for further investigation.


Reply to this email directly or view it on GitHubhttps://github.com//issues/48#issuecomment-22834714
.

For contact info visit: www.danielchatfield.com

@danielchatfield
Copy link
Collaborator Author

Fixed in #52

@danielchatfield
Copy link
Collaborator Author

@satazor Does upgrading inquirer fix it?

@satazor
Copy link

satazor commented Aug 18, 2013

@danielchatfield yes! thanks!

@SBoudrias
Copy link
Owner

Thanks for following this one up @danielchatfield!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants