run firebase init , and if your firebase.json is only empty with {} , add
{ "hosting": { "public": "public", "ignore": [ "firebase.json", "**/.*", "**/node_modules/**" ] } }
replace "public": "app" with "public": "public"
then run firebase deployment
source share