question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

this.getFirestore is not a function

See original GitHub issue

Hi!

I’m testing your script to use with firestore and when setting a .path, there’s some issues:

In my code: programme.path = 'docs/' + this.props.doc.id + '/programme';

An error appeared:

Uncaught TypeError: this.getFirestore is not a function at Collection.set

I was following your example of using the store.js to store all the collections and documents.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
wirelessedcommented, Dec 1, 2017

Hi! Thanks for the fix! Works 👍

0reactions
IjzerenHeincommented, Nov 29, 2017

Hi, I’ve fixed the issue and released it as v0.6.3. Regards, Hein

Read more comments on GitHub >

github_iconTop Results From Across the Web

firebase.firestore() is not a function when trying to initialize ...
I installed firebase with npm install firebase --save previously. import * as firebase from 'firebase'; import router from ...
Read more >
firebaseApp.firestore is not a function after upgrading to 8.1.1 ...
Describe your environment Operating System version: Ubuntu 20.04 Browser version: Firefox 83.0 Firebase SDK version: 8.1.1 Firebase Product: ...
Read more >
firebase/firestore - JavaScript API reference - Google
Can only be called before any other function, including getFirestore(). ... Must be called while the Firestore instance is not started (after the...
Read more >
firebase package gave error 'firebase.firestore is not a function'
firestore is not a function'. After installing the firebase package in WIX, still have problem in basic functions.
Read more >
Uncaught TypeError: firebase.firestore is not a function - Reddit
When the page tries to send data to Firebase, it throws an error, saying firestore is not a function. Anyone know what I'm...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found