TypeError: u[v] is not a function. (In 'u[v](x)', 'u[v]' is null)
Closed this issue · 0 comments
When filing a bug report, please confirm you've done the following:
-
Have you set
onVerifyTokenError
andonTokenRefreshError
in your config and checked for any helpful errors? ✅ -
Have you set
debug: true
in your config and read through server-side and client-side debug logs for any helpful messages? ✅ -
Have you tried the example app with your own Firebase credentials? ✅
-
Have you read through the troubleshooting Q&A? ✅
Describe the bug
When I'm loading the first page (no matter whether logged in or out, I sometimes get the following error:
TypeError: u[v] is not a function. (In 'u[v](x)', 'u[v]' is null)
It happens always on first load, and only sometimes afterwards, so I assume it might be a race condition.
Versions
next-firebase-auth
version: 1.0.1
Firebase JS SDK (firebase
): 10.7.0
Firebase admin SDK (firebase-admin
): 11.11.1
Next.js:
To Reproduce
Steps to reproduce the behavior:
- Go to https://demo.nextfirestarter.com and look at the console