-
Notifications
You must be signed in to change notification settings - Fork 254
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
StyledFirebaseAuth not working with nextjs #180
Comments
@paymog I think you have to update the import statement to be 'import firebase from "firebase/compat/app" if you are running v9 of Firebase. |
hello - did you find a solution ? @paymog |
I actually ended moving away from the styled ui and building my own. Did you try mym1990's solution @SSylvain1989? |
i have removed styledFirebase and put all with firebase SDK instead , easier @paymog |
are you using firebase v9? if so i believe you should do something like this
then when you import the StyledFirebaseAuth, do |
How I import v9
|
Can we please get an updated version of this module to work with Nextjs without using Firebase compatibility modules? Next Auth is too complicated. |
You can have a look at the solution here: #173 (comment) |
I'm trying to get StyledFirebaseAuth to work with NextJS but I keep running into the following issues:
in the terminal when running
next dev
and in the browser
Here's the entire tsx file I'm using to make a login page:
I've also tried using
FirebaseAuth
instead ofStyledFirebaseAuth
but that results in the same issue.The text was updated successfully, but these errors were encountered: