apollo: TypeError: apolloProvider.prefetchAll in vue-apollo@3.0.0-beta.20

If I ran fresh npm install, vue-apollo@3.0.0-beta.20 will be installed.

When running the application, the app will die from TypeError: apolloProvider.prefetchAll is not a function

However npm i -S vue-apollo@3.0.0-beta.19 fixed this issue.

<div align="right">This question is available on Nuxt community (#c137)</div>

About this issue

  • Original URL
  • State: closed
  • Created 6 years ago
  • Comments: 22 (12 by maintainers)

Most upvoted comments

@dohomi Despite all the nagging, your work on the module is still highly appreciated, Dominic — just wanted to leave you a thanks for that.

@ishitatsuyuki I just updated the dependency in #158 can you check if this resolves your issue?

Not fixed at all. Please reopen.

Check out my issue from yesterday: https://cmty.app/nuxt/apollo-module/issues/c134

A quick fix is to use resolutions in your package.json file to explicitly reference beta.16 (non-breaking) until a new version of this module is released.

@dohomi my suggestion would be to nix the ^ since vue-apollo is technically in beta and breaking changes are excusable.

did I mention that rc2 is out? Hopefully rc3 will follow over the weekend… I know that the naming convention is a bit off because this module relies on vue-apollo which by itself declares in beta. But for sure there will be stable releases coming up soon with less breaking changes and fiddling around

@AndrewBogdanovTSS the reason is first that there hasn’t been any breaking change for the past 10 months while working with vue-apollo. I thought 3 days ago I could ship rc2 with the most current changes - now everything seems to be delayed with fixes. But yeah… you are right I’ll release rc2 temporarily with beta.19 later the evening

rc3 is just published. It has still some issues with Nuxt v2, check out the newest issues. But for Nuxt 1.4.x everything is now updated to most recent versions of vue-apollo and the cli client