When I am hosting my web page through firebase hosting then after writing command firebase deploy
I got the following error:
Microsoft Windows [Versi
It could be due to npm and node version For mac os, you can update npm using command:
npm install -g npm@latest
and update node directly by going to link https://nodejs.org/en/ and download installer. and run
npm install -g firebase-tools
For removing firebase hosting deployment errors (also if you are updating existing hosted site)
you can do process again
1] firebase login
2] firebase init
3] firebase deploy
Make sure your current folder has two things: public folder (which contains all files index.html) And firebase.json file