Error appearing after Upgrading firebase and Vuefire packages #1489
Unanswered
AngryBacteria
asked this question in
Questions and Help
Replies: 1 comment
-
The warnings says it all: +const auth = useFirebaseAuth();
async function login() {
- const auth = useFirebaseAuth();
if (auth) { this will work as long as you are within the |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am currently updating an older project of mine. It uses the following version of Vuefire and Firebase. With these versions everything works great:
If I update the packages to their newest version on npm (3.1.22 and 10.8.0) I get an error with the
useFirebaseAuth
function. It only returnsundefined
. There is also an error that appears when trying to use that function. Below I pasted the error and the code block that is problematic. It is inside a Vue Component with the setup tag, which makes the error even weirder for me. I would greatly appreciate any help!The error
The codeblock (inside a vuejs 3 component with the setup function)
Beta Was this translation helpful? Give feedback.
All reactions