Description: A web development reference portal for web developers who are looking for easy to understand and clear solutions to problems.
Skip to content
On Windows, when trying to install Firebase with npm for the first time, you may see the error “-bash: firebase: command not found” or something similar, when you run the following command:
$ firebase login You need to make sure your npm prefix has been added to your environment variables. Run the following: $ npm get prefix Mine was “C:\Users\ \AppData\Roaming\npm.