When I am hosting my web page through firebase hosting then after writing command firebase deploy I got the following error:
firebase deploy
Microsoft Windows [Versi
For me updating firebase-tools solved the issue
run below command in your cmd prompt
npm install -g firebase-tools
then try firebase init again
I get that error when I haven't run npm install. Try it out. I hope that simple solution helps anyone with the same problem.
npm install