sayinmehmet47
sayinmehmet47

Reputation: 551

Firebase app give error "Uncaught TypeError: firebase.store is not a function" although I imported firebase storage

I am new in firebase.I created app that connect to database and create new id in it.

const db = firebase.store();

my db variable is not reachable.enter image description here

Upvotes: 0

Views: 29

Answers (1)

Frank van Puffelen
Frank van Puffelen

Reputation: 598728

There is no product names store() in Firebase.

If you're looking for Firestore (for storing documents with fields and values), use firebase.firestore().

If you're looking for Cloud Storage for Firebase (so for storing unstructured files), use firebase.storage().

Upvotes: 1

Related Questions