-
-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
[Bug Report][3.4.11] Uncaught (in promise) TypeError: Cannot read properties of null (reading 'parentNode') #10098
Comments
This bug appears to affect nuxt, see nuxt/nuxt#25179 |
Same error in nuxt 3. My temporal solution was set Vue version fixed in my package json
|
This one almost made my head explode today, breaking my static pages based on Nuxt. But it is good to know that it was not my fault :) |
For me this only worked properly after putting it in the
|
"vue": "3.4.8" not "vue": "3.3.8" |
Just to add that another symptom is the "Vue DevTools" extension also stops working. |
Mine worked just by downgrading to 3.4.10, I guess its a 3.4.11 thing.
|
I confirm that it has been fixed. Everyone upgrade to v3.4.13 👏🎉 |
在nuxt3.91没有修复 |
still not fixed when having multiple layouts. reverting to 3.4.8 fixes it and it doesn't work on 3.4.9 |
this is not related to this issue, please discuss it in relevant repo |
Create a repro, open an issue, and we can check it out. Thanks. |
已经被修复了,目前看着3.4.14,没有任何问题 |
Thanks for this answer, it solved my problem |
@djixadin I was also experiencing the same issue consistently in my app, so I downgraded to 3.4.8 while had some time to investigate. I was not able to reproduce it in the playground with the same structure of my App (Suspense + Transition), but I could trace it down to this exact commit: bcda96b @LinusBorg Can we reopen the issue? cc @edison1105 This is the stacktrace in a unminified production build matching exactly that commit: Full stacktrace and details about my appThe affected logic is here To reproduce:
There are no issues with Vue 3.4.8 This is the stacktrace of the elements displayed in the screenshot, where I don't see anything out of the ordinary, but I'm attaching in case they're helpful. If I go deep down to where the app is mounted, there's nothing out of the extraordinary, the patch loop is the same.
|
@djixadin Can you confirm if you're using Suspense in your app to triage this issue down further? From Nuxt repo, it looks like that all the people who are still experiencing this are also using Suspense: nuxt/nuxt#25214 |
Yes i am, it is on by default. I wasn't able to reproduce it at the time but as stated here by the fine gentleman is that the problem is in promises not resolving before navigating nuxt/nuxt#25214 (comment) |
Reproduction here: Try switching fast between the 2 pages before the promise is resolved. Observe error in console. @ferferga Edit |
@edison1105 I'd like to mention that this is not a minor bug, this currently breaks navigation for any nuxt version, as you can see in the related PR. |
@ennioVisco Agreed |
@yyx990803 Vue 3.4.20 fixes this issue for me. THX! |
Vue version
3.4.11
Link to minimal reproduction
https://stackblitz.com/edit/nuxt-starter-n6ky34
Steps to reproduce
Error when using navigation.
What is expected?
No errors, navigate to other page.
What is actually happening?
The error stops the execution of the page and does not let you navigate.
System Info
Any additional comments?
Reproduction page (v3.4.10 - working)
https://stackblitz.com/edit/nuxt-starter-an2gkf
Reproduction page (v3.4.11 - not working)
https://stackblitz.com/edit/nuxt-starter-n6ky34
The text was updated successfully, but these errors were encountered: