While I run the command firebase deploy
I get this error:
Error: HTTP Error: 400, Project 'my_project' is not a Firestore enabled project.
While I run the command firebase deploy
I get this error:
Error: HTTP Error: 400, Project 'my_project' is not a Firestore enabled project.
Are you trying to use Cloud Firestore?
firestore.rules
file locallyI figured it out myself. It was just an ignorance while using the firebase console. I just had to enable the firestore beta from the console itself, under Database.
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
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.
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.
someone with another answer please.
Are you trying to use Cloud Firestore?
If so, visit the database section of the console and initialize Cloud Firestore * Can you post the url please?
If not, remove the firestore.rules file locally *Error: Error reading rules file firestore.rules