when trying to firebase deploy, getting this
! Unable to fetch the CLI MOTD and remote config.
and then it stops with:
Error: An unexpected error has occurred.
Anyone an idea?
It worked before, I didn't change anything. Windows 10, VSCode.
when trying to firebase deploy, getting this
! Unable to fetch the CLI MOTD and remote config.
and then it stops with:
Error: An unexpected error has occurred.
Anyone an idea?
It worked before, I didn't change anything. Windows 10, VSCode.
Try to logout from firebase and then login again
For me it was my company's firewall which prevented me from deploying the content.
As Danny Menocs says, I was trying to upload a flutter web project to firebase but had forgotten I had left my VPN on. Turned it off and connected fine.
Make sure you are in your firebase functions folder before running the deploy command.
After some headaches, in my case, there was someting so dumb as I haven't installed firebase cli tool from Windows setup (Firebase CLI binary for Windows). I've installed only firebase-tools with npm.
It could be due to SSL certificate issues, so you can try bypassing the checks as a workaround:
export NODE_TLS_REJECT_UNAUTHORIZED=0
After that I was finally able to deploy.
© 2022 - 2024 — McMap. All rights reserved.