I tried many things mentioned in this portal none worked hence posting the same.
I have created a web application using the Node.js and I am trying to host that application using the Firebase so it can be accessed by my Colleagues and try out the features. I followed the instruction provided by Firebase and ran the following commands:
Created a project in Firebase console
npm install -g firebase-toolsfirebase loginfirebase init(SelectedHOSTINGwith spacebar and * sign appeared next to it)I have a
publicfolder with theindex.htmlfile within it.firebase deploy
When I run the firebase deploy I get the following error:

I looked at some answers based on that everything seems to be fine for me:
My firebase.json file has following content:
{
"hosting": {
"public": "public",
"ignore": [
"firebase.json",
"**/.*",
"**/node_modules/**"
]
},
"remoteconfig": {
"template": "remoteconfig.template.json"
}
}
Not sure what exactly is going wrong. Can someone please help me how to host the Node.js application in Firebase.