Когда я развертываю с использованием firebase deploy
он проверяет firestore и загружает firestore.rules
я получаю неожиданную ошибку
содержимое файла firebase-debug.log:
i firestore: uploading rules firestore.rules...
[2018-12-22T12:36:35.927Z] >>> HTTP REQUEST POST https://firebaserules.googleapis.com/v1/projects/confluence19/rulesets
files=[name=firestore.rules, content=service cloud.firestore {
match /databases/{database}/documents {
match /{document=**} {
allow read, write;
}
}
}
]
[2018-12-22T12:36:37.262Z] TypeError: Cannot read property 'collectionId' of undefined
at FirestoreIndexes.upgradeOldSpec (/usr/lib/node_modules/firebase-tools/lib/firestore/indexes.js:307:29)
at FirestoreIndexes.<anonymous> (/usr/lib/node_modules/firebase-tools/lib/firestore/indexes.js:23:31)
at Generator.next (<anonymous>)
at /usr/lib/node_modules/firebase-tools/lib/firestore/indexes.js:7:71
at new Promise (<anonymous>)
at __awaiter (/usr/lib/node_modules/firebase-tools/lib/firestore/indexes.js:3:12)
at FirestoreIndexes.deploy (/usr/lib/node_modules/firebase-tools/lib/firestore/indexes.js:22:16)
at _deployIndexes (/usr/lib/node_modules/firebase-tools/lib/deploy/firestore/deploy.js:30:10)
at module.exports (/usr/lib/node_modules/firebase-tools/lib/deploy/firestore/deploy.js:39:48)
at _chain (/usr/lib/node_modules/firebase-tools/lib/deploy/index.js:22:40)
Как мне решить эту проблему?