-
Notifications
You must be signed in to change notification settings - Fork 197
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 resolve import "@vue/apollo-composable #556
Comments
Same issue here, as soon as I make reference to the useMutation, useSubscription, or useQuery composables. useAsyncQuery and useLazyAsyncQuery composables do not do this. Since it seems to be an issue with the auto import, any reference is enough to make it bail like this for me. <script setup lang="ts">
useMutation;
</script>
<template></template>
|
I could get past this by installing "@vue/apollo-composable" manually, but hitting other issues also mentioned in #550. |
I got rid of this package and moved to https://github.com/Diizzayy/nuxt-graphql-client And I must say it was very easy to setup and use, wish I found this earlier. |
@pat-flew did you find a solution for this ? |
Hopefully; the later suggestion in #550 (comment) has been working for me so far @PierreCavalet |
@BorisKamp: I tried the same and then i was realizing that the nuxt-graphql-client(https://github.com/jasonkuhrt/graphql-request#why-was-the-file-upload-feature-taken-away-will-it-return) removed the support of file uploads :( And now i am stucked :D How did u solve this? Or do u have no need of file uploads? |
Environment
Darwin
v20.4.0
3.7.4
3.9.0
2.6.3
[email protected]
-
runtimeConfig
,devtools
,nitro
,build
,css
,modules
,components
,googleFonts
,pwa
,i18n
,apollo
,image
@nuxtjs/[email protected]
,@kevinmarrec/[email protected]
,@nuxtjs/[email protected]
,@nuxtjs/[email protected]
,@nuxt/[email protected]
,@nuxtjs/[email protected]
,@pinia/[email protected]
-
Describe the bug
I literally have no clue why this jumped in my screen at once. It was working before. I am calling a mutation as follows:
In my
<script lang="ts" setup>
.It gives me the following error in my console:
Expected behaviour
To just work like it did before....
Reproduction
No response
Additional context
No response
Logs
No response
The text was updated successfully, but these errors were encountered: