I'm learning node.js with firebase/firestore. For some reason only firebase.firestore() is being recognized as a function. firebase.auth(), firebase.storage() and firebase.database() are not being recognized as functions.
I'm using the basic code from one of the youtube examples:
var config = {
apiKey: "",
authDomain: "",
databaseURL: "",
projectId: "",
storageBucket: "",
messagingSenderId: ""
};
firebase.initializeApp(config);
var firestore = firebase.firestore();
also this question appears to be in the same territory but was not helpful for me. Firebase Initializing Without Auth - firebase.auth is not a function
Are you sure you included all firebase plugin ? from the doc :