Kiedy wdrażam za pomocą firebase deploy i sprawdza w firestore i uploadach firestore.rules Dostaję nieoczekiwany błąd

zawartość firebase-debug.log to:

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)

Jak rozwiązać ten problem?

Ankur
źródło