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

TypeError: Cannot read properties of null (reading 'parentNode') #10517

Open
vmedina-azimut opened this issue Mar 13, 2024 · 6 comments
Open
Labels
need more info Further information is requested

Comments

@vmedina-azimut
Copy link

Vue version

3.4.30

Link to minimal reproduction

https://stackblitz.com/edit/nuxt-starter-n6ky34

Steps to reproduce

Error when loading a selector. I am not using Nuxt

What is expected?

Show the options of the selector and be able to select it

What is actually happening?

The error stops the execution of the page and does not let you navigate.

possible related with #10098 but im not using Nuxt and I change the versiion to 3.4.20 the ones that 'fixes' that issue and still not solution

System Info

`vue.global.js:8287 [Vue warn]: Unhandled error during execution of scheduler flush. This is likely a Vue internals bug. Please open an issue at https://new-issue.vuejs.org/?repo=vuejs/vue-next 
  at <RouterView onLoadCrumbs=fn<receiveCrumbs> > 
  at <MainSection> 
  at <Default onVnodeUnmounted=fn<onVnodeUnmounted> ref=Ref< 
Proxy(Object) {…}`


`vue.global.js:9345 Uncaught (in promise) TypeError: Cannot read properties of null (reading 'parentNode')
    at parentNode (vue.global.js:9345:32)
    at ReactiveEffect.componentUpdateFn [as fn] (vue.global.js:6050:19)
    at ReactiveEffect.run (vue.global.js:568:31)
    at callWithErrorHandling (vue.global.js:8404:38)
    at flushJobs (vue.global.js:8629:19)`

Any additional comments?

Screenshot 2024-03-13 at 5 16 04 PM
@edison1105
Copy link
Member

possible related with #10098 but im not using Nuxt and I change the versiion to 3.4.20 the ones that 'fixes' that issue and still not solution

You should provide a minimal reproduction that reproduces your problem.

@edison1105 edison1105 added the need more info Further information is requested label Mar 14, 2024
@skirtles-code
Copy link
Contributor

The error TypeError: Cannot read properties of null (reading 'parentNode') can be caused by a lot of different things. It indicates that something went wrong earlier and now things are in a state that Vue wasn't expecting.

In your case I would suggest focusing on the other error message, TypeError: (0, a.toValue) is not a function, or perhaps any earlier errors or warnings that you haven't shown.

@MineDrum
Copy link

Hmm, I have a similar issue, but it traces back to an error on unmount. Downgrading to 3.3.0 worked for me

@chengazhen
Copy link

i hava a same issue, but i see it is fixed in #10098. why it it appear in this version ?

@edison1105
Copy link
Member

@chengazhen
please provide a minimal reproduction

@sanba-anass
Copy link

use should use NuxtLink instead buttons are not designed for navigation or use the standard anchor tag

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
need more info Further information is requested
Projects
None yet
Development

No branches or pull requests

6 participants