nuxt-community / firebase-module

🔥 Easily integrate Firebase into your Nuxt project. 🔥
https://firebase.nuxtjs.org
MIT License
641 stars 99 forks source link

Problem with $fire.firestore.loadBundle - Uncaught (in promise) unimplemented #587

Open mfreeman451 opened 2 years ago

mfreeman451 commented 2 years ago

Version

@nuxtjs/firebase": "^7.5.0", "firebase": "^8.2.9", "nuxt": "^2.15.8",

Reproduction Link

N/A

Steps to reproduce

methods: { async fetchBundle () { await this.$axios.get('/createBundle').then((resp) => { const foo = this.$fire.firestore.loadBundle(resp.data) foo.then((bundle) => { console.log(bundle) }) }).catch((error) => { console.error(error) }) },

What is Expected?

No errors?

What is actually happening?

Uncaught (in promise) unimplemented pu @ prebuilt-306f43d8-45d6f0b9.js?a6a6:13665 eval @ prebuilt-306f43d8-45d6f0b9.js?a6a6:18465 eval @ prebuilt-306f43d8-45d6f0b9.js?a6a6:18469 eval @ prebuilt-306f43d8-45d6f0b9.js?a6a6:18470 eval @ prebuilt-306f43d8-45d6f0b9.js?a6a6:18485 Kc @ prebuilt-306f43d8-45d6f0b9.js?a6a6:18486 eval @ ListChases.vue?8464:55 Promise.then (async) _callee$ @ ListChases.vue?8464:53 tryCatch @ runtime.js?96cf:63 invoke @ runtime.js?96cf:294 eval @ runtime.js?96cf:119 asyncGeneratorStep @ asyncToGenerator.js?1da1:3 _next @ asyncToGenerator.js?1da1:25 eval @ asyncToGenerator.js?1da1:32 eval @ asyncToGenerator.js?1da1:21 fetchBundle @ ListChases.vue?8464:53 created @ ListChases.vue?8464:46 invokeWithErrorHandling @ vue.runtime.esm.js?2b0e:1863 callHook @ vue.runtime.esm.js?2b0e:4235 Vue._init @ vue.runtime.esm.js?2b0e:5022 VueComponent @ vue.runtime.esm.js?2b0e:5168 createComponentInstanceForVnode @ vue.runtime.esm.js?2b0e:3304 init @ vue.runtime.esm.js?2b0e:3133 createComponent @ vue.runtime.esm.js?2b0e:6022 createElm @ vue.runtime.esm.js?2b0e:5969 patch @ vue.runtime.esm.js?2b0e:6560 Vue._update @ vue.runtime.esm.js?2b0e:3963 updateComponent @ vue.runtime.esm.js?2b0e:4075 get @ vue.runtime.esm.js?2b0e:4495 run @ vue.runtime.esm.js?2b0e:4570 flushSchedulerQueue @ vue.runtime.esm.js?2b0e:4326 eval @ vue.runtime.esm.js?2b0e:1989 flushCallbacks @ vue.runtime.esm.js?2b0e:1915 Promise.then (async) timerFunc @ vue.runtime.esm.js?2b0e:1942 nextTick @ vue.runtime.esm.js?2b0e:1999 queueWatcher @ vue.runtime.esm.js?2b0e:4418 update @ vue.runtime.esm.js?2b0e:4560 Vue.$forceUpdate @ vue.runtime.esm.js?2b0e:3984 eval @ index.js?6435:244 eval @ index.js?6435:242 eval @ index.js?6435:119 eval @ VM38649 ListChases.vue:32 ./components/cards/ListChases.vue @ app.js:1530 __webpack_require__ @ runtime.js:854 hotApplyInternal @ runtime.js:750 hotApply @ runtime.js:412 cb @ process-update.js?e135:76 eval @ process-update.js?e135:91 Promise.then (async) check @ process-update.js?e135:90 module.exports @ process-update.js?e135:52 processMessage @ client.js?1b93:279 handleMessage @ client.js?1b93:139 handleMessage @ client.js?1b93:102

simeon9696 commented 2 years ago

I'm not sure that load bundle is a valid method? What are you trying to do?