-
Notifications
You must be signed in to change notification settings - Fork 202
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error: Apollo client with id default not found. Use an app.runWithContext() or provideApolloClient() if you are outside of a component setup. #638
Comments
|
I'm experiencing the same issue, I'm a bit amazed, isn't this a big thing ? I mean, doesn't people use this setup a lot ? How can one work around this, tried to apply the fix mentioned above but i was unable to install the module locally. My understanding is that useAsyncData uses cached data after SSR initial load so it is not an option ? Here is a small reproduction of the issue: https://stackblitz.com/edit/nuxt-starter-jj8mw76x?file=pages%2Findex.vue |
I'm getting the same issue with NuxtJs: 3.15.2 My Nuxt Page:
|
Environment
Describe the bug
I'm getting 500 error when accessing a route that's using useQuery
the code I'm using is
in nuxt config I've configured it like this
Expected behaviour
I'm expecting the page to load properly without errors.
Reproduction
No response
Additional context
No response
Logs
The text was updated successfully, but these errors were encountered: