Firebase.firestore не работает, пока он работал нормально прошлой ночью
Инициализация
db = Firebase.firestore();
при попытке получить данные
this.db.collection("companies").get().then((r)=>{
console.log(r);
});
ОШИБКА
index.js:2178 [2018-10-05T08:14:37.552Z] @firebase/firestore: Firestore (5.5.0): INTERNAL UNHANDLED ERROR: TypeError: Cannot add property code, object is not extensible
at new FirestoreError (http://localhost:3000/static/js/bundle.js:17647:20)
at DelayedOperation../node_modules/@firebase/firestore/dist/index.cjs.js.DelayedOperation.cancel (http://localhost:3000/static/js/bundle.js:25208:34)
at OnlineStateTracker../node_modules/@firebase/firestore/dist/index.cjs.js.OnlineStateTracker.clearOnlineStateTimer (http://localhost:3000/static/js/bundle.js:31374:35)
at OnlineStateTracker../node_modules/@firebase/firestore/dist/index.cjs.js.OnlineStateTracker.set (http://localhost:3000/static/js/bundle.js:31344:14)
at RemoteStore.<anonymous> (http://localhost:3000/static/js/bundle.js:31692:49)
at step (http://localhost:3000/static/js/bundle.js:132318:23)
at Object.next (http://localhost:3000/static/js/bundle.js:132299:53)
at http://localhost:3000/static/js/bundle.js:132292:71
at new Promise (<anonymous>)
at Object.__awaiter (http://localhost:3000/static/js/bundle.js:132288:12)
at RemoteStore../node_modules/@firebase/firestore/dist/index.cjs.js.RemoteStore.onWatchStreamChange (http://localhost:3000/static/js/bundle.js:31686:24)
at PersistentListenStream../node_modules/@firebase/firestore/dist/index.cjs.js.PersistentListenStream.onMessage (http://localhost:3000/static/js/bundle.js:30809:30)
at http://localhost:3000/static/js/bundle.js:30736:30
at http://localhost:3000/static/js/bundle.js:30776:28
at http://localhost:3000/static/js/bundle.js:25262:20