Skip to content
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

Failed to import useQuery #623

Open
DrewTJohnson opened this issue Jun 6, 2024 · 2 comments
Open

Failed to import useQuery #623

DrewTJohnson opened this issue Jun 6, 2024 · 2 comments
Labels

Comments

@DrewTJohnson
Copy link

Environment

  • Operating System: Darwin
  • Node Version: v19.8.1
  • Nuxt Version: 3.11.2
  • CLI Version: 3.11.1
  • Nitro Version: 2.9.6
  • Package Manager: npm@9.5.1
  • Builder: -
  • User Config: alias, dir, components, css, postcss, modules, apollo, runtimeConfig
  • Runtime Modules: @nuxtjs/apollo@5.0.0-alpha.14
  • Build Modules: -

Describe the bug

When trying to use the composable useQuery() I get the following error:

Screenshot 2024-06-06 at 2 52 57 PM

Expected behaviour

Should be able to use the composable and get results back. Instead get the error in the screenshot.

Reproduction

No response

Additional context

No response

Logs

No response

@quentinmeliard
Copy link

We had the exact same issue. We found a workaround which is to install @vue/apollo-composable manually.

@cesarecluka
Copy link

Exact same issue, but I've had no luck manually installing @vue/apollo-composable, as there are some conflicts. useAsyncQuery works for now but I hope this will get fixed soon

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants