satansdeer/react-firebase-auth

`default.auth()` is not a function

Opened this issue · 5 comments

I tried running the app and it keeps throwing a 'default.auth() is not a function' error. Please can you help with this?

image

I am facing the same issue

@satansdeer Can you help, please?

Same problem here guys! Can't go further with the tutorial!

Some people change it to firebase.app.auth().... but doesn't work for me.

Old version of Firebase. There's a new version and they changed how you have access to a lot of the functions.

Amoz3 commented

https://firebase.google.com/docs/auth/web/start

replace .auth with getAuth(app) 👍