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

terminal hangs when creating a new app #88

Closed
kerolloz opened this issue Jun 20, 2019 · 7 comments · Fixed by #89
Closed

terminal hangs when creating a new app #88

kerolloz opened this issue Jun 20, 2019 · 7 comments · Fixed by #89

Comments

@kerolloz
Copy link

kerolloz commented Jun 20, 2019

Description / Steps to reproduce / Feature proposal

I just write

lb app

in my terminal.

Current Behavior

After entering the project name, my terminal stops(hangs), the cursor keeps blinking, and doesn't accept any input at ? Enter the name of the directory to contain the project: (test) question.
I tried pressing <Enter>, Ctrl+Z, Ctrl+C or any button but, unfortunately, has no effect.

screenshot

Expected Behavior

I should be able to enter the project root directory.

Note

I have just installed loopback CLI, using the following command.

sudo npm i -g loopback-cli

I use Ubuntu 19.04.

@keks411
Copy link

keks411 commented Jun 20, 2019

Same issue here. To give some more info:

OS: Ubuntu 18.04.2
Node: v12.4.0
npm: 6.9.0
5.0.0 ([email protected] [email protected])

I also tried the same with the LTS-Node-Version and Node10 and Node12 with Centos7. Same issue.

@jannyHou
Copy link
Contributor

looking, might be the same reason as loopbackio/loopback-next#3187

@dhmlau
Copy link
Member

dhmlau commented Jun 20, 2019

We've released a new version of @loopback/cli (1.17.1) that fixes on the inquirer version. Please update to the latest version. Thanks.

@kerolloz
Copy link
Author

@jannyHou
Thank you 😃

@jannyHou
Copy link
Contributor

released in 5.0.3, let me know if it still fails.

@kerolloz
Copy link
Author

@jannyHou
it works perfectly 💯 thank you 🎉

@jannyHou
Copy link
Contributor

yw :)

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

Successfully merging a pull request may close this issue.

4 participants