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

Can not use arrow key to navigate when create project inside an existing directory #4181

Closed
zmen opened this issue Jun 21, 2019 · 3 comments
Closed

Comments

@zmen
Copy link

zmen commented Jun 21, 2019

Version

3.8.4

Environment info

  System:
    OS: macOS 10.14.5
    CPU: (4) x64 Intel(R) Core(TM) i5-5257U CPU @ 2.70GHz
  Binaries:
    Node: 12.4.0 - /usr/local/bin/node
    Yarn: Not Found
    npm: 6.9.0 - /usr/local/bin/npm
  Browsers:
    Chrome: 75.0.3770.100
    Firefox: 67.0
    Safari: 12.1.1
  npmGlobalPackages:
    @vue/cli: 3.8.4

Steps to reproduce

  1. create an empty directory by mkdir demo
  2. cd demo
  3. run vue create .
  4. Prompt Generate project in current directory?, answer Y
  5. It will ask you to pick a preset

What is expected?

I can pick a preset by arrow keys.

What is actually happening?

Nothing happened after press arrow key.
Even Cmd c can't escape the terminal.

Jun-21-2019 12-34-10

@MRVDH
Copy link

MRVDH commented Jun 21, 2019

I'm experiencing exactly the same problem on:
Windows 10
vue cli 3.8.4
node.js v10.12.0

@MRVDH
Copy link

MRVDH commented Jun 21, 2019

Upstream bug due to SBoudrias/Inquirer.js#811
Has been identified in #4177

@haoqunjiang
Copy link
Member

Fixed in inquirer@6.4.1
Now please try to clean your npm/yarn cache and reinstall @vue/cli

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