newbeea / nuxt3-apollo-module

33 stars 8 forks source link

Does not work with nuxt3 #3

Open ardin0546 opened 2 years ago

ardin0546 commented 2 years ago

The package installs without any problems. However the moment when I start my dev server I get this error: ERROR Failed to resolve import "@vue/apollo-composable". When I look deeper in the node_modules that package is indeed missing. The moment I want to install the package my self I get a peer dependency error.

This happens with nuxt 3.0.0-rc.3 and nuxt 3.0.0-rc.4 (latest)

ksharplee commented 2 years ago

I got the same problem, however, if I install @vue/apollo-composable via yarn, the package will be installed without error, but there will be no record in the package.json file, hence it's not ideal. I hope this problem will go away soon