Closed pzpsofficial closed 2 years ago
@pzpsofficial try running npx nuxi clean
and deleting your lockfile (package-lock.json) then re-installing the dependencies.
@Diizzayy Thanks! It worked like a charm, but now I am getting another error: Unexpected token '??='
- but I guess that it's something related to Nuxt itself, what do you think?
@pzpsofficial the The nullish coalescing assignment operator (??=
) is used across nuxt and was introduced in node v15^
, you'll have to update from version v14.18.3
@Diizzayy Oooh, so that's what makes a great developer great :D Thank you so much, it's working like a charm. Thanks again, and all best!
@pzpsofficial Happy to help!
Environment
Darwin
v14.18.3
3.0.0-rc.14
1.0.0
npm@9.1.1
vite
vite
,modules
,runtimeConfig
,build
,app
nuxt-graphql-client@0.2.10
Build Modules:
-
Describe the bug
I have just upgraded nuxt to latest stable release, and I get the following error:
Cannot find name 'useAsyncGql'.
Is it a known issue or something?
Expected behaviour
Being able to use
useAsyncGql
in vue files.Reproduction
No response
Additional context
No response
Logs
No response