firebase deploy error and fiebase.json empty file

Viewed 17073
2 Answers

run firebase init and if your firebase.json is empty with only {} then add

 {
  "hosting": {
    "public": "public",
    "ignore": [
      "firebase.json",
      "**/.*",
      "**/node_modules/**"
    ]
  }
}

replace "public": "app" with "public": "public"

then run firebase deploy

Related