nuxt-firebase / nuxt-flame

Google Firebase integration for your Nuxt 3 project
13 stars 0 forks source link

[nuxt3] error caught during app initialization Error: Component auth has not been registered yet #1

Open sniperadmin opened 1 year ago

sniperadmin commented 1 year ago

Description:

App loads fine when first time loading. After doing changes to the DOM, this error log comes:

nuxt.js:93 [nuxt] error caught during app initialization Error: Component auth has not been registered yet
    at Provider.initialize (provider.ts:239:13)
    at initializeAuth (initialize.ts:66:25)
    at getAuth (index.ts:80:16)
    at useAuth (use-auth.mjs?v=bc7696e5:11:16)
    at Object.setup (plugin.client.mjs:8:16)
    at wrapper (nuxt.js:189:21)
    at fn (nuxt.js:203:27)
    at callWithNuxt (nuxt.js:208:12)
    at applyPlugin (nuxt.js:124:29)
    at applyPlugins (nuxt.js:133:11)

How to re-generate this:

The following code is applied on a page or `App.vue`: ```vue ```

Environment details:

CharlieDigital commented 1 year ago

Getting the same issue on a MacOS env.