Closed hiroshinishio closed 2 years ago
Looks like this library isn't compatible with firebase v9 see https://github.com/firebase/firebaseui-web-react/pull/158 If you downgrade to v8 it should work.
This library is now compatible with the compat
version of Firebase v9. For more context, take a look at this comment: https://github.com/firebase/firebaseui-web-react/pull/158#issuecomment-964269348 in the PR linked by @jbdaines
I got this error when opening http://localhost:3000/auth. This error seems to be brought by using StyledFirebaseAuth from "react-firebaseui/StyledFirebaseAuth". Here is my code;
And
auth
comes from below;And package.json is below. Perhaps, my firebase version is above 9, but this library requires firebase version under 8??