\n\n#### Console error:\n\n\u003Cimg width=\"1603\" alt=\"Image\" src=\"https://github.com/user-attachments/assets/ee11c947-e89b-4824-9e65-17ed92dd0316\" />\n\n### Reproduction Demo\n\n[Nuxt3 - Teleport Bug Demo (StackBlitz)](https://stackblitz.com/edit/nuxt-teleport-demo?file=package.json)\n\n### Here is a video of the issue being reproduced:\nhttps://github.com/user-attachments/assets/75725d9f-f4f1-4d9c-8c8c-53f6b4cfdb4b\n\n### Additional context\n\n#### Root cause\n\nWith research I have found out what is causing the bug:\n\n\u003Cimg width=\"524\" alt=\"Image\" src=\"https://github.com/user-attachments/assets/3095510a-5d1a-443d-8f57-1a9653418d68\" />\n\n👉 **This issue only happens if we add `app.pageTransition` config.**\n\n\n#### Workaround\n\nA small workaround that I found is wrapping the `Teleport` component with `ClientOnly` – but I found that to be not ideal, as I would expect that this should also work for the ServerSide.\n\nDoes anyone know a solution for this?\n\n### Logs\n\n```shell-script\nruntime-core.esm-bun…er.js?v=b5c028d2:50 [Vue warn]: Unhandled error during execution of component update \n at \u003CRouterView name=undefined route=undefined > \n at \u003CNuxtPage > \n at \u003CDefault ref=Ref\u003C \nProxy(Object) {…}\n > > \n at \u003CAsyncComponentWrapper ref=Ref\u003C \nProxy(Object) {…}\n > > \n at \u003CLayoutLoader key=\"default\" layoutProps= \n{ref: RefImpl}\n name=\"default\" > \n at \u003CNuxtLayoutProvider layoutProps= \n{ref: RefImpl}\n key=\"default\" name=\"default\" ... > \n at \u003CNuxtLayout > \n at \u003CApp key=4 > \n at \u003CNuxtRoot>\nwarn$1\t@\truntime-core.esm-bun…er.js?v=b5c028d2:50\nlogError\t@\truntime-core.esm-bun…r.js?v=b5c028d2:261\nhandleError\t@\truntime-core.esm-bun…r.js?v=b5c028d2:253\ncallWithErrorHandling\t@\truntime-core.esm-bun…r.js?v=b5c028d2:199\nflushJobs\t@\truntime-core.esm-bun…r.js?v=b5c028d2:405\nPromise.then\t\t\nqueueFlush\t@\truntime-core.esm-bun…r.js?v=b5c028d2:319\nqueueJob\t@\truntime-core.esm-bun…r.js?v=b5c028d2:314\neffect2.scheduler\t@\truntime-core.esm-bun….js?v=b5c028d2:5472\ntrigger\t@\treactivity.esm-bundler.js?v=b5c028d2:226\nendBatch\t@\treactivity.esm-bundler.js?v=b5c028d2:284\nnotify\t@\treactivity.esm-bundler.js?v=b5c028d2:557\ntrigger\t@\treactivity.esm-bundler.js?v=b5c028d2:531\nset value\t@\treactivity.esm-bundl….js?v=b5c028d2:1403\nfinalizeNavigation\t@\tvue-router.mjs?v=b5c028d2:2499\n(anonymous)\t@\tvue-router.mjs?v=b5c028d2:2409\nPromise.then\t\t\npushWithRedirect\t@\tvue-router.mjs?v=b5c028d2:2377\npush\t@\tvue-router.mjs?v=b5c028d2:2303\nnavigate\t@\tvue-router.mjs?v=b5c028d2:1532\ncallWithErrorHandling\t@\truntime-core.esm-bun…r.js?v=b5c028d2:197\ncallWithAsyncErrorHandling\t@\truntime-core.esm-bun…r.js?v=b5c028d2:204\ninvoker\t@\truntime-dom.esm-bund…r.js?v=b5c028d2:720\n\n--------------------------------------------\n\nruntime-core.esm-bun….js?v=b5c028d2:5950 Uncaught (in promise) TypeError: Cannot read properties of null (reading 'type')\n at unmountComponent (runtime-core.esm-bun…?v=b5c028d2:5950:18)\n at unmount (runtime-core.esm-bun…s?v=b5c028d2:5857:7)\n at patchSuspense (runtime-core.esm-bun…s?v=b5c028d2:6913:9)\n at Object.process (runtime-core.esm-bun…s?v=b5c028d2:6797:7)\n at patch (runtime-core.esm-bun…?v=b5c028d2:4747:16)\n at ReactiveEffect.componentUpdateFn [as fn] (runtime-core.esm-bun…s?v=b5c028d2:5430:9)\n at ReactiveEffect.run (reactivity.esm-bundl…s?v=b5c028d2:198:19)\n at updateComponent (runtime-core.esm-bun…?v=b5c028d2:5282:18)\n at processComponent (runtime-core.esm-bun…s?v=b5c028d2:5217:7)\n at patch (runtime-core.esm-bun…?v=b5c028d2:4722:11)\nunmountComponent\t@\truntime-core.esm-bun….js?v=b5c028d2:5950\nunmount\t@\truntime-core.esm-bun….js?v=b5c028d2:5857\npatchSuspense\t@\truntime-core.esm-bun….js?v=b5c028d2:6913\nprocess\t@\truntime-core.esm-bun….js?v=b5c028d2:6797\npatch\t@\truntime-core.esm-bun….js?v=b5c028d2:4747\ncomponentUpdateFn\t@\truntime-core.esm-bun….js?v=b5c028d2:5430\nrun\t@\treactivity.esm-bundler.js?v=b5c028d2:198\nupdateComponent\t@\truntime-core.esm-bun….js?v=b5c028d2:5282\nprocessComponent\t@\truntime-core.esm-bun….js?v=b5c028d2:5217\npatch\t@\truntime-core.esm-bun….js?v=b5c028d2:4722\ncomponentUpdateFn\t@\truntime-core.esm-bun….js?v=b5c028d2:5430\nrun\t@\treactivity.esm-bundler.js?v=b5c028d2:198\nupdateComponent\t@\truntime-core.esm-bun….js?v=b5c028d2:5282\nprocessComponent\t@\truntime-core.esm-bun….js?v=b5c028d2:5217\npatch\t@\truntime-core.esm-bun….js?v=b5c028d2:4722\ncomponentUpdateFn\t@\truntime-core.esm-bun….js?v=b5c028d2:5430\nrun\t@\treactivity.esm-bundler.js?v=b5c028d2:198\nrunIfDirty\t@\treactivity.esm-bundler.js?v=b5c028d2:236\ncallWithErrorHandling\t@\truntime-core.esm-bun…r.js?v=b5c028d2:197\nflushJobs\t@\truntime-core.esm-bun…r.js?v=b5c028d2:405\nPromise.then\t\t\nqueueFlush\t@\truntime-core.esm-bun…r.js?v=b5c028d2:319\nqueueJob\t@\truntime-core.esm-bun…r.js?v=b5c028d2:314\neffect2.scheduler\t@\truntime-core.esm-bun….js?v=b5c028d2:5472\ntrigger\t@\treactivity.esm-bundler.js?v=b5c028d2:226\nendBatch\t@\treactivity.esm-bundler.js?v=b5c028d2:284\nnotify\t@\treactivity.esm-bundler.js?v=b5c028d2:557\ntrigger\t@\treactivity.esm-bundler.js?v=b5c028d2:531\nset value\t@\treactivity.esm-bundl….js?v=b5c028d2:1403\nfinalizeNavigation\t@\tvue-router.mjs?v=b5c028d2:2499\n(anonymous)\t@\tvue-router.mjs?v=b5c028d2:2409\nPromise.then\t\t\npushWithRedirect\t@\tvue-router.mjs?v=b5c028d2:2377\npush\t@\tvue-router.mjs?v=b5c028d2:2303\nnavigate\t@\tvue-router.mjs?v=b5c028d2:1532\ncallWithErrorHandling\t@\truntime-core.esm-bun…r.js?v=b5c028d2:197\ncallWithAsyncErrorHandling\t@\truntime-core.esm-bun…r.js?v=b5c028d2:204\ninvoker\t@\truntime-dom.esm-bund…r.js?v=b5c028d2:720\n```",[2946],{"name":2947,"color":2948},"pending triage","E99695",30639,"App Routing breaks when navigating from a Page with Teleport","2025-02-03T11:19:24Z","https://github.com/nuxt/nuxt/issues/30639",0.7467054,{"description":2955,"labels":2956,"number":2961,"owner":2874,"repository":2874,"state":2901,"title":2962,"updated_at":2963,"url":2964,"score":2965},"### Environment\n\n Operating System: Darwin\r\n- Node Version: v20.0.0\r\n- Nuxt Version: 3.7.4\r\n- CLI Version: 3.9.0\r\n- Nitro Version: 2.6.3\r\n- Package Manager: npm@9.6.4\r\n- Builder: -\r\n- User Config: devtools\r\n- Runtime Modules: -\r\n- Build Modules: -\n\n### Reproduction\n\nCheckout [the repo](https://github.com/Larsmyrup/nuxt-routing-error) or go to [this Stackblitz](https://stackblitz.com/github/Larsmyrup/nuxt-routing-error).\r\n\r\nFirst page has a NuxtLink with the text 'Link', it links to a page called \"routed\". Routed is an async component, resolving a promise after 10 seconds.\r\n\r\nIf you click the link once and wait 10 seconds, you get routed (as expected).\r\n\r\nHowever if you click it, and click it again before the 10 seconds, an error is thrown. After the 10 seconds has passed, another error gets thrown and the original page content gets unmounted.\n\n### Describe the bug\n\nDouble tapping a NuxtLink, linking to a page with an async component still resolving, breaks the page.\n\n### Additional context\n\nLet me know if there's anything i need to elaborate.\n\n### Logs\n\n```shell-script\nchunk-RAKT47ZN.js:2710 \u003CSuspense> is an experimental feature and its API will likely change.\r\nchunk-RAKT47ZN.js:1449 [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 \r\n at \u003CRouteProvider key=\"/routed\" vnode= {__v_isVNode: true, __v_skip: true, type: {…}, props: {…}, key: null, …} route= {fullPath: '/routed', hash: '', query: {…}, name: 'routed', path: '/routed', …} ... > \r\n at \u003CRouterView name=undefined route=undefined > \r\n at \u003CNuxtPage> \r\n at \u003CNuxtLayoutProvider layoutProps= {ref: RefImpl} key=\"default\" name=\"default\" ... > \r\n at \u003CNuxtLayout> \r\n at \u003CApp key=3 > \r\n at \u003CNuxtRoot>\r\nwarn2 @ chunk-RAKT47ZN.js:1449\r\nlogError @ chunk-RAKT47ZN.js:1623\r\nhandleError @ chunk-RAKT47ZN.js:1615\r\ncallWithErrorHandling @ chunk-RAKT47ZN.js:1567\r\nflushJobs @ chunk-RAKT47ZN.js:1763\r\nPromise.then (async)\r\nqueueFlush @ chunk-RAKT47ZN.js:1676\r\nqueueJob @ chunk-RAKT47ZN.js:1670\r\n(anonymous) @ chunk-RAKT47ZN.js:7208\r\ntriggerEffect @ chunk-RAKT47ZN.js:614\r\ntriggerEffects @ chunk-RAKT47ZN.js:604\r\ntriggerRefValue @ chunk-RAKT47ZN.js:1211\r\nset value @ chunk-RAKT47ZN.js:1255\r\nsyncCurrentRoute @ router.js?v=78c91318:68\r\n(anonymous) @ router.js?v=78c91318:73\r\n(anonymous) @ vue-router.js:2547\r\nrunWithContext @ chunk-RAKT47ZN.js:5256\r\nrunWithContext @ vue-router.js:2485\r\n(anonymous) @ vue-router.js:2547\r\ntriggerAfterEach @ vue-router.js:2547\r\n(anonymous) @ vue-router.js:2475\r\nPromise.then (async)\r\npushWithRedirect @ vue-router.js:2441\r\npush @ vue-router.js:2367\r\nnavigate @ vue-router.js:1621\r\ncallWithErrorHandling @ chunk-RAKT47ZN.js:1565\r\ncallWithAsyncErrorHandling @ chunk-RAKT47ZN.js:1573\r\ninvoker @ chunk-RAKT47ZN.js:9397\r\nchunk-RAKT47ZN.js:9157 Uncaught (in promise) TypeError: Cannot read properties of null (reading 'parentNode')\r\n at parentNode (chunk-RAKT47ZN.js:9157:30)\r\n at ReactiveEffect.componentUpdateFn [as fn] (chunk-RAKT47ZN.js:7175:11)\r\n at ReactiveEffect.run (chunk-RAKT47ZN.js:423:19)\r\n at instance.update (chunk-RAKT47ZN.js:7212:52)\r\n at updateComponent (chunk-RAKT47ZN.js:7039:18)\r\n at processComponent (chunk-RAKT47ZN.js:6974:7)\r\n at patch (chunk-RAKT47ZN.js:6436:11)\r\n at patchSuspense (chunk-RAKT47ZN.js:2562:7)\r\n at Object.process (chunk-RAKT47ZN.js:2481:7)\r\n at patch (chunk-RAKT47ZN.js:6461:16)\r\nparentNode @ chunk-RAKT47ZN.js:9157\r\ncomponentUpdateFn @ chunk-RAKT47ZN.js:7175\r\nrun @ chunk-RAKT47ZN.js:423\r\ninstance.update @ chunk-RAKT47ZN.js:7212\r\nupdateComponent @ chunk-RAKT47ZN.js:7039\r\nprocessComponent @ chunk-RAKT47ZN.js:6974\r\npatch @ chunk-RAKT47ZN.js:6436\r\npatchSuspense @ chunk-RAKT47ZN.js:2562\r\nprocess @ chunk-RAKT47ZN.js:2481\r\npatch @ chunk-RAKT47ZN.js:6461\r\ncomponentUpdateFn @ chunk-RAKT47ZN.js:7171\r\nrun @ chunk-RAKT47ZN.js:423\r\ninstance.update @ chunk-RAKT47ZN.js:7212\r\ncallWithErrorHandling @ chunk-RAKT47ZN.js:1565\r\nflushJobs @ chunk-RAKT47ZN.js:1763\r\nPromise.then (async)\r\nqueueFlush @ chunk-RAKT47ZN.js:1676\r\nqueueJob @ chunk-RAKT47ZN.js:1670\r\n(anonymous) @ chunk-RAKT47ZN.js:7208\r\ntriggerEffect @ chunk-RAKT47ZN.js:614\r\ntriggerEffects @ chunk-RAKT47ZN.js:604\r\ntriggerRefValue @ chunk-RAKT47ZN.js:1211\r\nset value @ chunk-RAKT47ZN.js:1255\r\nsyncCurrentRoute @ router.js?v=78c91318:68\r\n(anonymous) @ router.js?v=78c91318:73\r\n(anonymous) @ vue-router.js:2547\r\nrunWithContext @ chunk-RAKT47ZN.js:5256\r\nrunWithContext @ vue-router.js:2485\r\n(anonymous) @ vue-router.js:2547\r\ntriggerAfterEach @ vue-router.js:2547\r\n(anonymous) @ vue-router.js:2475\r\nPromise.then (async)\r\npushWithRedirect @ vue-router.js:2441\r\npush @ vue-router.js:2367\r\nnavigate @ vue-router.js:1621\r\ncallWithErrorHandling @ chunk-RAKT47ZN.js:1565\r\ncallWithAsyncErrorHandling @ chunk-RAKT47ZN.js:1573\r\ninvoker @ chunk-RAKT47ZN.js:9397\r\nchunk-RAKT47ZN.js:7520 Uncaught (in promise) TypeError: Cannot read properties of null (reading 'subTree')\r\n at move (chunk-RAKT47ZN.js:7520:28)\r\n at move (chunk-RAKT47ZN.js:7520:7)\r\n at Object.resolve (chunk-RAKT47ZN.js:2789:11)\r\n at chunk-RAKT47ZN.js:2912:20\r\nmove @ chunk-RAKT47ZN.js:7520\r\nmove @ chunk-RAKT47ZN.js:7520\r\nresolve @ chunk-RAKT47ZN.js:2789\r\n(anonymous) @ chunk-RAKT47ZN.js:2912\r\nPromise.then (async)\r\nregisterDep @ chunk-RAKT47ZN.js:2876\r\nmountComponent @ chunk-RAKT47ZN.js:7003\r\nprocessComponent @ chunk-RAKT47ZN.js:6963\r\npatch @ chunk-RAKT47ZN.js:6436\r\ncomponentUpdateFn @ chunk-RAKT47ZN.js:7106\r\nrun @ chunk-RAKT47ZN.js:423\r\ninstance.update @ chunk-RAKT47ZN.js:7212\r\nsetupRenderEffect @ chunk-RAKT47ZN.js:7220\r\nmountComponent @ chunk-RAKT47ZN.js:7010\r\nprocessComponent @ chunk-RAKT47ZN.js:6963\r\npatch @ chunk-RAKT47ZN.js:6436\r\npatchSuspense @ chunk-RAKT47ZN.js:2678\r\nprocess @ chunk-RAKT47ZN.js:2481\r\npatch @ chunk-RAKT47ZN.js:6461\r\ncomponentUpdateFn @ chunk-RAKT47ZN.js:7171\r\nrun @ chunk-RAKT47ZN.js:423\r\ninstance.update @ chunk-RAKT47ZN.js:7212\r\ncallWithErrorHandling @ chunk-RAKT47ZN.js:1565\r\nflushJobs @ chunk-RAKT47ZN.js:1763\r\nPromise.then (async)\r\nqueueFlush @ chunk-RAKT47ZN.js:1676\r\nqueueJob @ chunk-RAKT47ZN.js:1670\r\n(anonymous) @ chunk-RAKT47ZN.js:7208\r\ntriggerEffect @ chunk-RAKT47ZN.js:614\r\ntriggerEffects @ chunk-RAKT47ZN.js:604\r\ntriggerRefValue @ chunk-RAKT47ZN.js:1211\r\n(anonymous) @ chunk-RAKT47ZN.js:1371\r\ntriggerEffect @ chunk-RAKT47ZN.js:614\r\ntriggerEffects @ chunk-RAKT47ZN.js:599\r\ntriggerRefValue @ chunk-RAKT47ZN.js:1211\r\nset value @ chunk-RAKT47ZN.js:1255\r\nfinalizeNavigation @ vue-router.js:2563\r\n(anonymous) @ vue-router.js:2473\r\nPromise.then (async)\r\npushWithRedirect @ vue-router.js:2441\r\npush @ vue-router.js:2367\r\nnavigate @ vue-router.js:1621\r\ncallWithErrorHandling @ chunk-RAKT47ZN.js:1565\r\ncallWithAsyncErrorHandling @ chunk-RAKT47ZN.js:1573\r\ninvoker @ chunk-RAKT47ZN.js:9397\n```\n",[2957,2960],{"name":2958,"color":2959},"3.x","29bc7f",{"name":2947,"color":2948},23636,"Getting an error if clicking NuxtLink routing to an async page twice","2023-10-12T11:09:37Z","https://github.com/nuxt/nuxt/issues/23636",0.7511405,{"description":2967,"labels":2968,"number":2969,"owner":2874,"repository":2970,"state":2901,"title":2971,"updated_at":2972,"url":2973,"score":2974},"I haven't looked at how it is supposed to work, but I am pretty sure that this page included descriptions of all options before:\r\nhttps://nuxt.com/docs/api/nuxt-config\r\nthe descriptions are still in the code (see https://github.com/nuxt/nuxt/blob/main/packages/schema/src/config/app.ts for example), just not rendered on the website anymore. \r\nI am not sure when this broke, maybe with the new website? \r\n\r\nedit: found out how its generated (https://github.com/nuxt/nuxt.com/blob/9084f3b31b9c8c3428b67e50def1a79c89d14de1/server/plugins/docs-config.ts#L17) looks like the schema doesnt include comments (anymore?) https://unpkg.com/@nuxt/schema@3.8.1/schema/config.schema.json so maybe this is an issue on the nuxt repo with the schema generation instead?",[],1415,"nuxt.com","Nuxt Config Page misses all the comment from the code","2024-01-30T16:15:04Z","https://github.com/nuxt/nuxt.com/issues/1415",0.7529996,["Reactive",2976],{},["Set"],["ShallowReactive",2979],{"$fTRc1wZytZ_XrK4EfJfei_Sz-An4H4Yy6syhVxH_PVJc":-1,"$fIw9lpZWVcUMg3tZFSPSoHMZrw6SxykdenDRGe-582Ec":-1},"/nuxt/nuxt.com/1224"]