On {code: "auth/network-request-failed", message: "A network error (such as timeout, interrupted connection or unreachable host) has occurred."} code : "auth/network-request-failed" message : "A network error (such as timeout, interrupted connection or unreachable host) has occurred." __proto__ : Error
main.html:1 Failed to load https://securetoken.googleapis.com/v1/token?key=AIzaSyBqJx6CHQdHf2VibQTVPGb1NJ7oiCumK3c: Response to preflight request doesn't pass access control check: The 'Access-Control-Allow-Origin' header has a value 'null' that is not equal to the supplied origin. Origin 'null' is therefore not allowed access.
我不知道问题是什么,所以我会感谢任何帮助或尝试提供帮助
答案 0 :(得分:0)
如果您没有安装firebase CLI。然后安装然后在你的项目的根目录下作为firebase服务运行。您的项目将在5000端口提供,因此http://localhost:5000/将为您的项目提供firebase的全部功能。完整信息:https://firebase.google.com/docs/cli