I'm trying to initialize a firebase project using the command firebase init
, but I get the message Error: Command requires authentication, please run firebase login
.
When I run firebase login
, the process hangs and does not return the prompt :
Previously I have installed the latest stable version of node.js and firebase-tools (with npm install -g firebase-tools
). I'm using a Windows 8.1 x64 machine.
The content of firebase-debug.log file noes not report any error or warning:
[debug] ----------------------------------------------------------------------
[debug] Command: C:\Program Files (x86)\nodejs\node.exe C:\Users\ \AppData\Roaming\npm\node_modules\firebase-tools\bin\firebase login
[debug] Platform: win32
[debug] Node Version: v5.1.0
[debug] Time: Mon Nov 23 2015 13:49:06 GMT-0500 (Eastern Standard Time)
[debug] ----------------------------------------------------------------------
[debug]
How can I debug the login command? Nomaly it should open a browser window for authentication, but this does't happen in my case.
Setting Up iOS Firebase Project Now update the pod dependencies: 1npm install @react-native-firebase/analytics 2# in the root folder 3cd ios && pod install --repo-update && cd .. Firebase analytics dependency is a must to verify successful Firebase integration with iOS.
Windows. Download the standalone binary for the CLI. Then, you can access the executable to open a shell where you can run the firebase command. Use npm (the Node Package Manager) to install the CLI and enable the globally available firebase command.
Did you get your answer yet?
You need to type 'firebase login --interactive' then it'll take you through the browser to a gmail account to sign into then you can execute your 'firebase init' command.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With