Cannot choose an app on windows
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)
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?
@drtriumph im running the command via command line. yep i was be able to login just fine.
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?
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.
Same issue here. Win 10, node 4.2.1
firebase init -f <app_name> worked though
:+1: same on Win 10, Node 4.1.1 in both Command Prompt and PowerShell
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/
This should be working in firebase init now, though the underlying Node bug still persists.
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?".
This issue happens to my Gitbash sometimes. Sometimes, the arrow keys work, sometimes they do not. Any workarounds?
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.
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.
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.
I have the same issue
Node.js LTS Version: v6.11.0 works for me
Same issue with Win 10 16215, VS '17 Preview 2, and Node 8.1.0 (x64)
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).
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.
i was having the same problem (while trying to use gitBash), i switched over to comand prompt and the arrows keys work there
It's working for me in node version v8.1.2