Skip to content
Advertisement

Tag: firebase-tools

Firebase Storage in Web Application: storage.useEmulator is not a function

In my local web application development environment the web application is accessing the Firestore emulator correctly, but not the Storage emulator. Instead it accesses the production storage. I load the module from http://localhost:5000/__/firebase/8.3.0/firebase-storage.js I have tried this from https://firebase.google.com/docs/emulator-suite/connect_storage#web-v8: But the useEmulator function does not exist. How can this be? Answer The function storage.useEmulator was introduced in a later version

Vue + Firebase: Functions useEmulator() ignored

I found this line of code in the Firebase docs firebase.functions().useEmulator(‘localhost’, 5001) that supposedly points your Vue app to the locally running emulator, but for some reason my project is ignoring said line of code and continues to call the remotely deployed function instead. Here’s what the relevant part of my @/plugins/firebase.js looks like: And then to call the botcheck

Advertisement