You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using asyncData to fetch doc from firebase, it works perfectly on development, but when I try to host it on Vercel with ssr: true, I am getting the following error
dd4-ef8f-410a-853f-4e69a617036c WARN Error enabling offline persistence. Falling back to persistence disabled: TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received undefined
I tried disabling the auth persistence, but the error is still there
Yeah understood, I am not trying to enable it. As you can see in my config above, I have set it to false on both firestore and auth, and still getting this error.
I am using asyncData to fetch doc from firebase, it works perfectly on development, but when I try to host it on Vercel with
ssr: true
, I am getting the following errordd4-ef8f-410a-853f-4e69a617036c WARN Error enabling offline persistence. Falling back to persistence disabled: TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received undefined
I tried disabling the auth persistence, but the error is still there
Version
@nuxtjs/firebase: 6.1.1
firebase: 7.22.1
nuxt: 2.14.5
nuxt.config.js
What is Expected?
The page should load with the correct data
What is actually happening?
The function timeout with the above-mentioned error
Any help would be much appreciated!! Thank you
The text was updated successfully, but these errors were encountered: