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

task freezed on win10 #1249

Closed
g8up opened this issue Jun 6, 2020 · 3 comments
Closed

task freezed on win10 #1249

g8up opened this issue Jun 6, 2020 · 3 comments
Labels
needs triage Awaiting triage

Comments

@g8up
Copy link

g8up commented Jun 6, 2020

I'm a newer to yeoman-generator.
I follow the document here: https://yeoman.io/authoring/user-interactions.html#using-user-answers-at-a-later-stage

module.exports = class extends Generator {
  async prompting() {
    this.answers = await this.prompt([
      {
        type: "confirm",
        name: "cool",
        message: "Would you like to enable the Cool feature?"
      }
    ]);
  }

  writing() {
    this.log("cool feature", this.answers.cool); // user answer `cool` used
  }
};

and run on Windows 10:
image

It stucked.
I'm using yeoman-generator@4.10.0.
yo: v2.0.0
Node.js: v12.13.0

@g8up g8up added the needs triage Awaiting triage label Jun 6, 2020
@mshima
Copy link
Member

mshima commented Jun 6, 2020

Looks related with inquirer and https://github.com/SBoudrias/Inquirer.js/#know-issues

@mshima
Copy link
Member

mshima commented Jun 6, 2020

There is nothing we can do if it’s related to inquirer. So I’m closing this.
If you manage to reproduce with windows + bash, feel free to reopen it.

@mshima mshima closed this as completed Jun 6, 2020
@mshima
Copy link
Member

mshima commented Jun 6, 2020

You can try to use yo@3.1.1 instead of 2.0.0 too

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

No branches or pull requests

2 participants