firebase-tools icon indicating copy to clipboard operation
firebase-tools copied to clipboard

Cannot choose an app on windows

Open val-samonte opened this issue 11 years ago • 30 comments

On firebase init, I cannot select an existing app from the terminal, even if it displays my existing apps (select in the means of using arrow keys)

val-samonte avatar Oct 19 '15 04:10 val-samonte

How are you attempting to run the command? Through the command line, cygwin, PowerShell? I assume you were able to login to the tools just fine?

cbraynor avatar Oct 19 '15 05:10 cbraynor

@drtriumph im running the command via command line. yep i was be able to login just fine.

val-samonte avatar Oct 21 '15 05:10 val-samonte

For now I think the -f <app_name> option will allow you to proceed, and we'll try reproducing this. What version of windows / node / npm are you running?

cbraynor avatar Oct 21 '15 05:10 cbraynor

hi @drtriumph, sorry for the late response. currently using windows 10, node 4.1.1, npm 2.14.4. tried to go legacy mode from the command terminal and unfortunately I still encountered the same.

val-samonte avatar Oct 24 '15 11:10 val-samonte

Same issue here. Win 10, node 4.2.1

firebase init -f <app_name> worked though

MarkusPint avatar Oct 31 '15 12:10 MarkusPint

:+1: same on Win 10, Node 4.1.1 in both Command Prompt and PowerShell

ClintH avatar Nov 05 '15 22:11 ClintH

Hey guys, same issue on Windows 10 Node 5.0.0 in Command Prompt and Powershell including Powershell ISE as Administrator. Can't kill the current task either. Have to exit out of Powershell entirely.

EDIT/UPDATE This also doesn't work on Node 5.1.0 latest update, however, if you have Github for windows installed and installed Git Bash along with it, it works perfectly on Git Bash. Link here below and hope this helps someone for the time being: https://git-for-windows.github.io/

ghost avatar Nov 11 '15 09:11 ghost

This should be working in firebase init now, though the underlying Node bug still persists.

mbleigh avatar May 23 '16 17:05 mbleigh

May I ask what the underlying Node bug is? I'm seeing the same issue on Win7, Node v6.2.2, Firebase 3.0.3. Also the workaround firebase init -f <app_name> doen't work for me as the -f option is unknown.

The -f option would not solve the issue also, since you are unable to use arrow keys on the questoin "What Firebase CLI features do you want to setup for this folder?".

Karasuni avatar Jun 29 '16 12:06 Karasuni

This issue happens to my Gitbash sometimes. Sometimes, the arrow keys work, sometimes they do not. Any workarounds?

eGlobeBizCom avatar Jul 25 '16 02:07 eGlobeBizCom

Try using windows command prompt, I was trying to use the git terminal but it wasn't working, so then I tried using the command prompt (windows terminal), navigated to my project directory and initialized in there, and it worked. It also let me select the options, whereas in the git terminal I wasn't able to select anything with keys or pressing the space bar.

jordano1 avatar Nov 10 '16 09:11 jordano1

Same issue. Windows 10, Node.Js 8.1.0. Tried command line and git bash, can't choose anything while trying to init project. Not by space or by arrow keys.

EvilAlexei avatar Jun 10 '17 11:06 EvilAlexei

Same issue. Windows 10, Node.Js 8.1.0. Tried command line and git bash, can't choose anything while trying to init project. Not by space or by arrow keys.

narvati avatar Jun 10 '17 17:06 narvati

I have the same issue

krisu7 avatar Jun 10 '17 21:06 krisu7

Node.js LTS Version: v6.11.0 works for me

krisu7 avatar Jun 10 '17 21:06 krisu7

Same issue with Win 10 16215, VS '17 Preview 2, and Node 8.1.0 (x64)

EncryptedNomad avatar Jun 11 '17 23:06 EncryptedNomad

Update on issue - i think problem in Node 8.x.x, I have same issue on NodeJs 8.1.0, OS Windos 10 and Linux, different command lines. After i downgrade NodeJs to version 7.8.0 issue gone and navigation begin to work by keys(arrows and space).

EvilAlexei avatar Jun 12 '17 13:06 EvilAlexei

Yes it does appear to be a Node 8 issue. I reproduced this (on Linux), and will investigate a fix. Filed https://github.com/firebase/firebase-tools/issues/370 to track this, since it's a separate issue than this original one.

laurenzlong avatar Jun 12 '17 18:06 laurenzlong

i was having the same problem (while trying to use gitBash), i switched over to comand prompt and the arrows keys work there

jarjarbits avatar Jun 23 '17 04:06 jarjarbits

It's working for me in node version v8.1.2

krisdev-pl avatar Jun 23 '17 08:06 krisdev-pl