错误:HTTP错误:400,Project' projectname'不是启用Firestore的项目

时间:2018-02-06 04:00:32

标签: firebase firebase-cli

我收到此错误: 我认为firebase设置很好,但部署

的问题
=== Deploying to 'uiexpertonline'...

i  deploying storage, firestore, hosting
i  storage: checking storage.rules for compilation errors...
✔  storage: rules file storage.rules compiled successfully
i  firestore: checking firestore.rules for compilation errors...
✔  firestore: rules file firestore.rules compiled successfully
i  storage: uploading rules storage.rules...
i  firestore: uploading rules firestore.rules...
i  hosting: preparing dist directory for upload...
✔  hosting: 23 files uploaded successfully
✔  storage: released rules storage.rules to firebase.storage/uiexpertonline.appspot.com
✔  firestore: released rules firestore.rules to cloud.firestore

✔  Deploy complete!

Project Console: https://console.firebase.google.com/project/uiexpertonline/overview
Hosting URL: https://uiexpertonline.firebaseapp.com
Bhupinders-MacBook-Pro:ui bhupinder$ 

2 个答案:

答案 0 :(得分:2)

当您执行firebase init时,您需要说“否”以覆盖index.html

答案 1 :(得分:-1)

转到Firebase控制台。 从左侧导航中选择数据库。 单击开始。 弹出窗口将显示两个选项。 选择“以锁定模式启动”。 点击“启用” 再次尝试部署Firebase。