nuxt-auth icon indicating copy to clipboard operation
nuxt-auth copied to clipboard

`signoutData` might be `undefined`

Open LLCampos opened this issue 7 months ago • 1 comments

Environment

- Node Version:     v18.17.0
- Nuxt Version:     3.11.2
- CLI Version:      3.11.1
- Nitro Version:    2.9.6
- Package Manager:  [email protected]
- User Config:      experimental, extends, modules, sourcemap, app, css, postcss, auth, vite, runtimeConfig
- Runtime Modules:  @sidebase/nuxt-auth@^0.7.2, @pinia/[email protected], @formkit/[email protected], @nuxt/[email protected], @nuxtjs/tailwindcss@^6.8.0, floating-vue/nuxt
- Build Modules:    -

Reproduction

This is a non-deterministic problem. Not able to reproduce it consistently.

Describe the bug

We've been non-deterministically been getting the error

TypeError: undefined is not an object (evaluating 'o.url') / TypeError: o is undefined

The source maps tell me that the error is happening here.

So it seems that somehow signoutData might be undefined at this point?

Additional context

  • This leads to an error page in Netlify.
  • This error is paired sometimes (but not always) with TypeError: NetworkError when attempting to fetch resource.

I'll add more context here if I find anything new.

Logs

No response

LLCampos avatar Jul 19 '24 14:07 LLCampos