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

Latest Nuxt Composition API is not working #383

Closed
ruslansteiger opened this issue Feb 13, 2021 · 3 comments
Closed

Latest Nuxt Composition API is not working #383

ruslansteiger opened this issue Feb 13, 2021 · 3 comments

Comments

@ruslansteiger
Copy link

ruslansteiger commented Feb 13, 2021

Version

v4.0.1-rc.5
@nuxtjs/[email protected]
@vue/[email protected]

Reproduction link

https://github.com/SuddenlyRust/nuxt-apollo-composition-api

Steps to reproduce

yarn install

yarn dev

Visit http://localhost:3000/

What is expected ?

Working application without error message.

What is actually happening?

Following error shown: Cannot read property '_apolloAppTracking' of undefined

error.png

Additional comments?

Downgrading to @nuxtjs/[email protected] does fix it!

This bug report is available on Nuxt community (#c365)
@ruslansteiger ruslansteiger changed the title Nuxt Apollo not working with latest Nuxt Composition API Latest Nuxt Composition API is not working Feb 13, 2021
@jsbroks
Copy link

jsbroks commented Feb 15, 2021

vuejs/apollo#1029 (comment)

vuejs/apollo#1029 (comment)

Had this same issue

@mvanalphen
Copy link

mvanalphen commented Feb 18, 2021

I ran into this issue as well, but after upgrading to @vue/[email protected] the issue was resolved. This does however required this transpilation workaround: vuejs/apollo#1081 (comment).

@ruslansteiger
Copy link
Author

Thank you @mvanalphen. The transpilation workaround is working 🚀

Check out following commit for a working version: ruslansteiger/nuxt-apollo-composition-api@10a577e

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

No branches or pull requests

3 participants