Skip to content

[Bug Report][3.4.11] Uncaught (in promise) TypeError: Cannot read properties of null (reading 'parentNode') #10098

Closed
@Josepdal

Description

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?

[Vue warn]: Unhandled error during execution of scheduler flush. This is likely a Vue internals bug. Please open an issue at https://github.com/vuejs/core . 
  at <NuxtLayout> 
  at <App key=3 > 
  at <NuxtRoot>
Uncaught (in promise) TypeError: Cannot read properties of null (reading 'parentNode')
at parentNode (chunk-FRWRVS7C.js?v=e55eeb5e:9605:30)
    at ReactiveEffect.componentUpdateFn [as fn] (chunk-FRWRVS7C.js?v=e55eeb5e:7513:11)
    at ReactiveEffect.run (chunk-FRWRVS7C.js?v=e55eeb5e:421:19)
    at instance.update (chunk-FRWRVS7C.js?v=e55eeb5e:7553:17)
    at callWithErrorHandling (chunk-FRWRVS7C.js?v=e55eeb5e:1634:32)
    at flushJobs (chunk-FRWRVS7C.js?v=e55eeb5e:1841:9)

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

image

System Info

System:
    OS: Windows 11 10.0.22631
    CPU: (32) x64 Intel(R) Core(TM) i9-14900KF
    Memory: 36.76 GB / 63.85 GB
  Binaries:
    Node: 20.10.0 - C:\Program Files\nodejs\node.EXE
    npm: 9.9.2 - ~\<privacy-deleted>\node_modules\.bin\npm.CMD
  Browsers:
    Chrome browser: 120.0.0.0

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

Metadata

Assignees

No one assigned

    Labels

    ❗ p4-importantPriority 4: this fixes bugs that violate documented behavior, or significantly improves perf.🐞 bugSomething isn't workingscope: suspense

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions