-
Notifications
You must be signed in to change notification settings - Fork 918
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error deploying Firestore rules when indexes not present #493
Comments
@mbleigh I've encountered this issue trying to deploy a single page index.html on firebase for a simple startup company homepage. New project with latest FB NPM tools. Any ideas, I am going around in circles?
|
@cliveb what version of the CLI are you running ( |
CLI -v firebase.json {
"database": {
"rules": "database.rules.json"
},
"hosting": {
"public": "public",
"ignore": [
"firebase.json",
"**/.*",
"**/node_modules/**"
]
},
"storage": {
"rules": "storage.rules"
},
"firestore": {
"rules": "firestore.rules",
"indexes": "firestore.indexes.json"
}
} |
@cliveb that can't be the right version: The latest is 3.16.0 |
@samtstern oops my bad. CLI is firebase-tools@3.16.0 (v5.6.0 is my NPM) Do I need to regenerate or edit out reference to firestore rules in firebase.json? |
you could try running |
I removed the firestore block and successfully deployed to Firebase. Thanks for your help here. |
Ignores node_modules when uploading local sources
|
We need to make sure if
rules
but notindexes
are not defined, deploys still work properly.The text was updated successfully, but these errors were encountered: