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

Bug with Node.js 8.1.0 on Linux #5905

Closed
JulioJu opened this issue Jun 10, 2017 · 5 comments
Closed

Bug with Node.js 8.1.0 on Linux #5905

JulioJu opened this issue Jun 10, 2017 · 5 comments
Milestone

Comments

@JulioJu
Copy link
Contributor

JulioJu commented Jun 10, 2017

Overview of the issue

On Linux , with NodeJS 8.1.0, it's impossible to use arrow keys when we generate a new project with command jhipster or yo jhipster.

I've tried with zsh, sh, bash, and with Gnome-Terminal, XTerm, tty, and with Yeoman 1.8.5 or 2.0.0 and with Jhipster 4.3.0, 4.5.2 and 4.5.3.

If we kill yeoman (pkill yo), after having use this command, in the same shell there are many other issues with other commands like sudo (can't enter passwords).

With Nodejs 8.1.0, there is no problems with command jhipster entity myentityname.

With NodeJS 7.9.0, there isn't any problem. All work fine.

Motivation for or Use Case

It's a bug because we can't generate a new project ! And it's a bug because after having kill yo, there are a lot of other issues with other commands like sudo !

Reproduce the error
  • Install Linux and Node.js 8.1.0
  • In a new folder, type yo jhipster or jhipster
  • Try to use arrow keys. Doesn't work.
  • In an other terminal, kill yeoman (pkill yo)
  • In the first terminal, try to run sudo it's not possible to enter password.
  • Try other commands with inputs, like ([Y/n].
Related issues

Nothing found on https://github.com/yeoman/yo/issues

Suggest a Fix

Is it a bug with JHipster generator ? Or Yeoman ? 

JHipster Version(s)

Bug with Jhipster 4.3.0, or 4.5.2 or 4.5.3.

JHipster configuration

It's for a new project. So this section it's irrelevant.

Entity configuration(s) entityName.json files generated in the .jhipster directory
Browsers and Operating System

Linux

  • [ *] Checking this box is mandatory (this is just to show you read everything)
@jdubois
Copy link
Member

jdubois commented Jun 10, 2017

That's why we tell to use an LTS version in our documentation...

@JulioJu
Copy link
Contributor Author

JulioJu commented Jun 10, 2017

Maybe, I must add a bug report on Yeoman ?

@jdubois
Copy link
Member

jdubois commented Jun 10, 2017

Yes

@miclill
Copy link
Contributor

miclill commented Jun 10, 2017

This is a bug in nodejs. It was fixed then reintroduced. 6.x LTS works. See here:
yeoman/yo#360

@JulioJu
Copy link
Contributor Author

JulioJu commented Jun 10, 2017

Ok !

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