-
-
Notifications
You must be signed in to change notification settings - Fork 523
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
Cannot read properties of undefined (reading 'data') #1323
Comments
it's a bug in Vue 3.2.31, we already have a fix ready. In the meantime, pin your Vue version to 3.2.30 |
@LinusBorg After dowgrading to v3.2.30 I still have that error plus 2 more. I'm doing a conversion from Vue2 to Vue3 so I'm not sure if it's related to something else...
|
The backend error is from devtools, not Vue. The second error is still the one from .31, so please verify that you are on .30 |
Maybe a cache thing? I deleted the Edit: I downgraded to .29 just to try to force it. Also tried |
I had this error today when trying out a migration from vue2 to vue3 it looks like @vue/apollo-option has a I tried using optional chaining on the property access |
The problem is solved after the vue version is specified to 3.2.30 😃 npm install vue@3.2.30 -S |
Pinning vue to 3.2.30 solved the following error for me:
Just adding this comment here, so googling the error message will lead to this issue in the future. |
For Anyone's Interest, the underlying vue core PR that (once released) will allow us pinners to unpin: vuejs/core#5417 |
Was having the same error as of 03/24/2022. Pinning to vue version 3.2.30 fixed it for me as well. |
hi, |
I would try updating your Vue version, yes @sadat2002 |
my dependencies:
my code:
error:
TypeError: Cannot read properties of undefined (reading 'data')
get: function get() {
return _this.$data.$apolloData.data[key];
},
can someone help me?
The text was updated successfully, but these errors were encountered: