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

前端 未结 8 1738
一整个雨季
一整个雨季 2021-02-03 18:37

While I run the command firebase deploy I get this error:

Error: HTTP Error: 400, Project \'my_project\' is not a Firestore enabled project.<

相关标签:
8条回答
  • 2021-02-03 18:50

    I had to create a DB environment and it worked fine after that. I'm using the realtime DB, not Cloud storage so it shouldn't have stopped it, anyway, its fixed.

    0 讨论(0)
  • 2021-02-03 18:54

    If your not using firestore, comment firestore in firebase.json

    0 讨论(0)
  • 2021-02-03 18:58

    You can enable the REST APIs using below URL:

    https://console.cloud.google.com/apis/library?project=

    0 讨论(0)
  • 2021-02-03 18:59

    selected Cloud Firestore while initial firebase setup?

    Just go to console and enable Cloud Firestore. When prompted for once you can select test mode to start off and later change it to private.

    0 讨论(0)
  • 2021-02-03 19:02

    I had the same problem. The solution is this: Go to Firebase console and login there [Firebase console]. Here you will see your Recent projects. Go to your project e.g. “stepintothepresent” and then go to database at left side panel, then choose cloud firestore and then I selected the 2nd option.

    After that I run firebase deploy from command prompt and the result is this

    0 讨论(0)
  • 2021-02-03 19:07

    Are you trying to use Cloud Firestore?

    • If so, visit the database section of the console and initialize Cloud Firestore
    • If not, remove the firestore.rules file locally
    0 讨论(0)
提交回复
热议问题