'Firebase Deploy Problem: Not in a firebase app directory [closed]

enter image description here

Error: Not in a Firebase app directory(could not locate firebase.json)



Solution 1:[1]

Run firebase login and firebase init first to initialize the file firebase.json.

Also, run firebase deploy inside the root directory of the project folder where firebase.json lives..

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Dabbel