Error: HTTP Error: 400, Project 'projectname' is not a Firestore enabled project

Error: HTTP Error: 400, Project 'projectname' is not a Firestore enabled project

我收到此错误: 我认为 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$ 

当你在执行 firebase init 时,你需要说“不”来覆盖 index.html

转到 Firebase 控制台。 Select 来自左侧导航的数据库。 单击开始。 弹出窗口将显示两个选项。 Select "Start in locked mode"。 点击 "Enable" 再次尝试 firebase 部署。