Closed linhmtran168 closed 1 year ago
------------------------------ - Operating System: Darwin - Node Version: v18.15.0 - Nuxt Version: 3.6.5 - Nitro Version: 2.5.2 - Package Manager: npm@9.5.0 - Builder: vite - User Config: srcDir, app, modules, pinia, typescript, runtimeConfig, sourcemap, vite, css, components, devtools - Runtime Modules: nuxt-vitest@0.10.2, nuxt-graphql-client@0.2.29, @nuxtjs/tailwindcss@6.8.0, @pinia/nuxt@0.4.11 - Build Modules: - ------------------------------
After upgrading to version 0.2.29 of nuxt-graphql-client, the following error happens when using useGqlToken:
0.2.29
nuxt-graphql-client
useGqlToken
nuxt.js:94 [nuxt] error caught during app initialization ReferenceError: refreshNuxtData is not defined at useGqlToken (index.mjs?v=75951b2c:73:9)
Downgrading to 0.2.27 solves the problem.
0.2.27
The error shouldn't happen and useGqlToken works as expected
No response
Environment
Describe the bug
After upgrading to version
0.2.29
ofnuxt-graphql-client
, the following error happens when usinguseGqlToken
:Downgrading to
0.2.27
solves the problem.Expected behaviour
The error shouldn't happen and
useGqlToken
works as expectedReproduction
No response
Additional context
No response
Logs
No response