This morning I tried to deploy my react project to firebase hosting but I received this error:
Error: Server Error. certificate has expired
The
I had an old version of firebase installed that was not allowing the new CLI to run correctly. I had to manually delete the old version, reinstall the new version, and then everything worked fine. Here's how I did it:
which firebase in your terminal to see where your firebase npm package is saved.npm i -g firebase-tools@latestfirebase init and you should be up and running again without any errors.