nuxt: Cannot read properties of null (reading 'parentNode')
Environment
- Operating System:
Darwin - Node Version:
v20.10.0 - Nuxt Version:
3.9.1 - CLI Version:
3.10.0 - Nitro Version:
2.8.1 - Package Manager:
yarn@1.22.21 - Builder:
- - User Config:
devtools - Runtime Modules:
- - Build Modules:
-
Reproduction
https://stackblitz.com/edit/github-ghhe2w?file=layouts%2Fdefault.vue
Describe the bug
When I clicke the NuxtLink text,the browser doesn’t to display the pages, and the browser display console the error in the Logs section.
Logs
[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 <RouterView name=undefined route=undefined >
at <NuxtPage>
at <App key=3 >
at <NuxtRoot>
warn$1 @ chunk-FRWRVS7C.js?v=373e3ccb:1486
chunk-FRWRVS7C.js?v=373e3ccb:9605 Uncaught (in promise) TypeError: Cannot read properties of null (reading 'parentNode')
at parentNode (chunk-FRWRVS7C.js?v=373e3ccb:9605:30)
at ReactiveEffect.componentUpdateFn [as fn] (chunk-FRWRVS7C.js?v=373e3ccb:7513:11)
at ReactiveEffect.run (chunk-FRWRVS7C.js?v=373e3ccb:421:19)
at instance.update (chunk-FRWRVS7C.js?v=373e3ccb:7553:17)
at callWithErrorHandling (chunk-FRWRVS7C.js?v=373e3ccb:1634:32)
at flushJobs (chunk-FRWRVS7C.js?v=373e3ccb:1841:9)
About this issue
- Original URL
- State: closed
- Created 6 months ago
- Reactions: 14
- Comments: 15 (3 by maintainers)
Commits related to this issue
- downgrade vue version https://github.com/nuxt/nuxt/issues/25179 — committed to JermaSites/jerma-logs by ihunter 6 months ago
Upstream bug, as workaround use Vue 3.4.10 or lower ☺️
let’s track in https://github.com/nuxt/nuxt/issues/25214.
at this time, the bug still exist nuxt version: 3.9.1 vue version: 3.4.14
Oh, no, that seems to be the real problem. So is there any way to solve this problem?