question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Can't use arrow keys to select options in Git Bash when running `vue create my-project`

See original GitHub issue

Version

3.0.0-rc.11

Node and OS info

Node 8.11.2 / npm 5.6.0 / Windows 10

Steps to reproduce

In Git Bash:

$ vue create my-project

This produces the following output:

? Please pick a preset: (Use arrow keys)
> default (babel, eslint)
  Manually select features

Using the arrow keys does not move the angle bracket selector, but just moves the cursor up and down, which can be moved anywhere on the screen. Pressing down once does result in selecting “Manually select features” but without visual feedback.

What is expected?

Angle bracket selector should move up and down with arrow keys.

What is actually happening?

Angle bracket selector does not move. Cursor moves but is free floating and there is no visual feedback to show you the current selection.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:11 (1 by maintainers)

github_iconTop GitHub Comments

108reactions
yyx990803commented, Aug 8, 2018

The default Git Bash is not an interactive terminal. You need to use something that is actually interactive or use winpty vue.cmd create hello-world

7reactions
blade93nycommented, May 29, 2019

This console emulator will have arrows working properly https://cmder.net/

Read more comments on GitHub >

github_iconTop Results From Across the Web

Vue-cli: arrow key not working while creating new project on ...
Here's a CTRL+C and CTRL+V step-by-step practical solution to solve this. The fact that you have this trouble means you are on Windows...
Read more >
Vue-Cli: Arrow Key Not Working While Creating New Project ...
In Git Bash: vue create myproject. This produces the following output: ? Please pick a preset: Use arrow keys > default babel eslint...
Read more >
Create-vue interactive prompts not working - Git Bash
I'm using Git Bash on Windows 10 if it matters. ... However, the interactive prompts don't work so I am unable to chose...
Read more >
Getting Started with Vue CLI 3.x - Stack Abuse
Unit Testing will let you pick your unit testing framework of choice. ? Pick a unit testing solution: (Use arrow keys) > Mocha...
Read more >
vue cannot find module or type declarations - You.com
I am using Webstorm 2022.3, and reopening the IDE does the trick. This might be an IDE issue that fails to reload node_module...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found