Description
Vue version
3.x
Link to minimal reproduction
Steps to reproduce
Install latest vue 3.x and @vue/runtime-dom 3.4.15 and any version of Nuxt 3.x
Create some pages that will be rendered on the client side
Try to navigate between routes.
What is expected?
I expect not to get any errors while navigating around the app on client side.
Unhandled Promise Rejection: TypeError: null is not an object (evaluating 'node.parentNode')
What is actually happening?
Im not totally sure if it's a vue 3.4.15 or vue/runtime-dom 3.4.15 bug. But all of my apps are broken after latest update on @vue/runtime-dom. Im using vue 3.x with Nuxt 3.9.x . Every time I try to navigate between routes, @vue/runtime-dom throwing an err
Unhandled Promise Rejection: TypeError: null is not an object (evaluating 'node.parentNode')
The only thing that resolves this issue is downgrading vue version to 3.3.x or downgrading runtime-dom version to earlier versions. And you won't probably get this error until delete .nuxt folder and install everything from scratch. Because when you do that, all your packages will be updated to their latest versions. And everything will be broken. And I m pretty sure it's vue core bug and not related with Nuxt since I only get this error on CSR client side rendering. Don't forget if I downgrade to earlier versions of vue or runtime-dom, the error is gone.
System Info
You will get this error on any system and browser.
Any additional comments?
Sorry for reproduce link (its empty vue app) I m going to add real reproduce link very soon. I just wanted to share this problem because it feels like a major thing that needs to be checked immediately.