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
However when the login form is submitted, it occurs this error: Uncaught (in promise) Error: No apolloClients injection found, tried to resolve 'local' clientId
Expected behaviour
ApolloClient should be resolved and queries/mutations executed normally
Reproduction
No response
Additional context
If I try to use the default ApolloClient it also fails with the same error.
Environment
Darwin
v19.6.0
3.2.3
2.2.3
[email protected]
vite
apollo
,components
,css
,modules
@pinia/[email protected]
,@nuxtjs/[email protected]
,@nuxtjs/[email protected]
,@nuxt/[email protected]
,[email protected]
,magic-regexp/nuxt
,[email protected]
,[email protected]
,@vite-pwa/[email protected]
,[email protected]
-
Describe the bug
I have this config at
nux.config.ts
:and this is my setup at my login page:
However when the login form is submitted, it occurs this error:
Uncaught (in promise) Error: No apolloClients injection found, tried to resolve 'local' clientId
Expected behaviour
ApolloClient should be resolved and queries/mutations executed normally
Reproduction
No response
Additional context
If I try to use the
default
ApolloClient it also fails with the same error.The whole code can be found at: https://github.com/peapescarte/plataforma
Logs
useApolloClient.ts:27 Uncaught (in promise) Error: No apolloClients injection found, tried to resolve 'local' clientId at resolveClientWithId (useApolloClient.ts:27:11) at resolveImpl (useApolloClient.ts:51:24) at resolveClient (useApolloClient.ts:66:20) at mutate (useMutation.ts:78:20) at handleSubmit (acessar.vue:69:3) at vee-validate.js:1802:1 resolveClientWithId @ useApolloClient.ts:27 resolveImpl @ useApolloClient.ts:51 resolveClient @ useApolloClient.ts:66 mutate @ useMutation.ts:78 handleSubmit @ acessar.vue:69 (anonymous) @ vee-validate.js:1802 Promise.catch (async) callWithAsyncErrorHandling @ chunk-3NMN3MUW.js:1590 invoker @ chunk-3NMN3MUW.js:8198
The text was updated successfully, but these errors were encountered: