Subscribe on changes!

[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/core

avatar
Apr 19th 2023

Vue version

3.2.47

Link to minimal reproduction

无法用例子看描述

Steps to reproduce

webpack模块联邦导出子应用文件,在另一个项目使用子应用暴露的文件,在需要在路由位置显示,但是报错了,让我来这里提issue

What is expected?

在路由位置正常显示页面组件

What is actually happening?

runtime-core.esm-bundler.js:40 [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/core at at at <Layout onVnodeUnmounted=fn ref=Ref< Proxy {__v_skip: true} > > at at <ElConfigProvider locale= {name: 'zh-cn', el: {…}} > at warn @ runtime-core.esm-bundler.js:40 logError @ runtime-core.esm-bundler.js:230 handleError @ runtime-core.esm-bundler.js:222 callWithErrorHandling @ runtime-core.esm-bundler.js:176 flushJobs @ runtime-core.esm-bundler.js:406 Promise.then(异步) queueFlush @ runtime-core.esm-bundler.js:298 queuePostFlushCb @ runtime-core.esm-bundler.js:320 queueEffectWithSuspense @ runtime-core.esm-bundler.js:1604 scheduler @ runtime-core.esm-bundler.js:1838 triggerEffect @ reactivity.esm-bundler.js:400 triggerEffects @ reactivity.esm-bundler.js:390 triggerRefValue @ reactivity.esm-bundler.js:1021 (匿名) @ reactivity.esm-bundler.js:1158 triggerEffect @ reactivity.esm-bundler.js:400 triggerEffects @ reactivity.esm-bundler.js:385 triggerRefValue @ reactivity.esm-bundler.js:1021 (匿名) @ reactivity.esm-bundler.js:1158 triggerEffect @ reactivity.esm-bundler.js:400 triggerEffects @ reactivity.esm-bundler.js:385 triggerRefValue @ reactivity.esm-bundler.js:1021 set value @ reactivity.esm-bundler.js:1066 finalizeNavigation @ vue-router.mjs:3334 (匿名) @ vue-router.mjs:3207 Promise.then(异步) pushWithRedirect @ vue-router.mjs:3174 push @ vue-router.mjs:3099 navigate @ vue-router.mjs:2189 callWithErrorHandling @ runtime-core.esm-bundler.js:173 callWithAsyncErrorHandling @ runtime-core.esm-bundler.js:182 invoker @ runtime-dom.esm-bundler.js:345

vue-router.mjs:35 [Vue Router warn]: uncaught error during route navigation: warn @ vue-router.mjs:35 triggerError @ vue-router.mjs:3449 (匿名) @ vue-router.mjs:3487 Promise.catch(异步) handleScroll @ vue-router.mjs:3487 finalizeNavigation @ vue-router.mjs:3335 (匿名) @ vue-router.mjs:3207 Promise.then(异步) pushWithRedirect @ vue-router.mjs:3174 push @ vue-router.mjs:3099 navigate @ vue-router.mjs:2189 callWithErrorHandling @ runtime-core.esm-bundler.js:173 callWithAsyncErrorHandling @ runtime-core.esm-bundler.js:182 invoker @ runtime-dom.esm-bundler.js:345

vue-router.mjs:3451 TypeError: Cannot read properties of null (reading 'parentNode') at parentNode (runtime-dom.esm-bundler.js:35:1) at ReactiveEffect.componentUpdateFn [as fn] (runtime-core.esm-bundler.js:5731:1) at ReactiveEffect.run (reactivity.esm-bundler.js:190:1) at instance.update (runtime-core.esm-bundler.js:5763:1) at callWithErrorHandling (runtime-core.esm-bundler.js:173:1) at flushJobs (runtime-core.esm-bundler.js:406:1)

System Info

No response

Any additional comments?

No response

avatar
Apr 19th 2023

We can't analyze the issue without a runnable reproduction