\r\n \u003C/NuxtLayout>\r\n\u003C/template>\r\n```\r\ndefined. And in pages is the layout (which is in /layouts (default.vue, test.vue) with definePageMeta\r\n```\r\n\u003Cscript setup lang=\"ts\">\r\ndefinePageMeta({\r\n layout: 'test',\r\n});\r\n\u003C/script>\r\n```\r\n\r\n### Describe the bug\r\n\r\nOnly since a few days without any recall of change regarding these files, we noticed that on the checkout and account pages it will always load the default layout now. If we add a console.log right underneath the definePageMeta it shows up, so the file itself etc is the correct, just the right layout isn't applied anymore.We tried updating the packages but even that didn't change the behavior, same with cache and a fresh dev start.\r\nI've also read through https://github.com/nuxt/nuxt/issues/13354 which seemed to be the same bug, but we have the NuxtPage wrapping the NuxtLayout in the app.vue.\r\n\r\nAny clues/ ideas on which direction we could debug would be highly appreciated!\r\n\r\n\r\n\r\n### Additional context\r\n\r\n_No response_\r\n\r\n### Logs\r\n\r\n_No response_",[2064,2065],{"name":1985,"color":1986},{"name":2008,"color":2009},27943,"definePageMeta doesn't work/ gets ignored","2024-08-28T18:39:04Z","https://github.com/nuxt/nuxt/issues/27943",0.67679167,{"labels":2072,"number":2078,"owner":1994,"repository":1994,"state":2011,"title":2079,"updated_at":2080,"url":2081,"score":2082},[2073,2074,2075],{"name":2004,"color":2005},{"name":1985,"color":1986},{"name":2076,"color":2077},"dx","C39D69",13274,"layout in definePageMeta: Changing as described in doc is not possible ","2023-01-19T16:50:28Z","https://github.com/nuxt/nuxt/issues/13274",0.67711675,{"description":2084,"labels":2085,"number":2088,"owner":1994,"repository":1994,"state":2011,"title":2089,"updated_at":2090,"url":2091,"score":2092},"### Environment\n\n- Operating System: `Linux`\r\n- Node Version: `v18.7.0`\r\n- Nuxt Version: `3.0.0-rc.11`\r\n- Nitro Version: `0.5.4`\r\n- Package Manager: `npm@8.15.0`\r\n- Builder: `vite`\r\n- User Config: `-`\r\n- Runtime Modules: `-`\r\n- Build Modules: `-`\r\n\n\n### Reproduction\n\nWe are defining the layout at runtime through a variable that we defined immediately before\r\n\r\nconst isSpecialEditorMode = (isMobile || constructor.value?.require_full_screen) && constructor.value?.type != 'SIMPLE_FORM'\r\n\r\ndefinePageMeta({\r\n layout: isSpecialEditorMode ? false : 'master'\r\n})\r\n\r\n\r\n\n\n### Describe the bug\n\nWe are defining the layout at runtime through a variable that we defined immediately before\r\n\r\nconst isSpecialEditorMode = (isMobile || constructor.value?.require_full_screen) && constructor.value?.type != 'SIMPLE_FORM'\r\n\r\ndefinePageMeta({\r\n layout: isSpecialEditorMode ? false : 'master'\r\n})\n\n### Additional context\n\n_No response_\n\n### Logs\n\n```shell\nnuxt] [request error] [unhandled] [500] isSpecialEditorMode is not defined\r\n at ./src/pages/create/[article_id].vue?macro=true:132:13 \r\n at process.processTicksAndRejections (node:internal/process/task_queues:95:5) \r\n at async ViteNodeRunner.directRequest (./node_modules/vite-node/dist/client.mjs:251:5) \r\n at async ViteNodeRunner.cachedRequest (./node_modules/vite-node/dist/client.mjs:128:12) \r\n at async request (./node_modules/vite-node/dist/client.mjs:151:16) \r\n at async virtual:nuxt:./.nuxt/routes.mjs:25:32 \r\n at async ViteNodeRunner.directRequest (./node_modules/vite-node/dist/client.mjs:251:5) \r\n at async ViteNodeRunner.cachedRequest (./node_modules/vite-node/dist/client.mjs:128:12) \r\n at async request (./node_modules/vite-node/dist/client.mjs:151:16) \r\n at async ./node_modules/nuxt/dist/pages/runtime/router.mjs:14:31\r\n[nuxt] [request error] [unhandled] [500] isSpecialEditorMode is not defined\r\n at ./src/pages/create/[article_id].vue?macro=true:132:13 \r\n at process.processTicksAndRejections (node:internal/process/task_queues:95:5) \r\n at async ViteNodeRunner.directRequest (./node_modules/vite-node/dist/client.mjs:251:5) \r\n at async ViteNodeRunner.cachedRequest (./node_modules/vite-node/dist/client.mjs:128:12) \r\n at async request (./node_modules/vite-node/dist/client.mjs:151:16) \r\n at async virtual:nuxt:./.nuxt/routes.mjs:25:32 \r\n at async ViteNodeRunner.directRequest (./node_modules/vite-node/dist/client.mjs:251:5) \r\n at async ViteNodeRunner.cachedRequest (./node_modules/vite-node/dist/client.mjs:128:12) \r\n at async request (./node_modules/vite-node/dist/client.mjs:151:16) \r\n at async ./node_modules/nuxt/dist/pages/runtime/router.mjs:14:31\n```\n",[2086,2087],{"name":2004,"color":2005},{"name":1985,"color":1986},15128,"DefinePageMeta Layout dynamic","2023-01-19T17:45:09Z","https://github.com/nuxt/nuxt/issues/15128",0.6773874,{"description":2094,"labels":2095,"number":2098,"owner":1994,"repository":1994,"state":2011,"title":2099,"updated_at":2100,"url":2101,"score":2102},"### Environment\n\n- Operating System: Darwin\r\n- Node Version: v20.11.0\r\n- Nuxt Version: 3.10.1\r\n- CLI Version: 3.10.0\r\n- Nitro Version: 2.8.1\r\n- Package Manager: yarn@4.0.1\r\n- Builder: -\r\n- User Config: devtools\r\n- Runtime Modules: -\r\n- Build Modules: -\n\n### Reproduction\n\nhttps://stackblitz.com/edit/github-ktie5u?file=pages%2Fpage-one.vue\n\n### Describe the bug\n\nIf you have 2 different layout and one of them has one child with useAsyncData (or maybe a general fetch?) if you go from the first page with layout `default` to the second page with `another-lyout` and come back, it throw this error: `TypeError: Cannot read properties of null (reading 'parentNode')` and **broke all my website**.\n\n### Additional context\n\n_No response_\n\n### Logs\n\n```shell-script\nchunk-ZFKCPPMZ.js?v=9a8b1d1e:1503 [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 . \r\n at \u003CRouterView name=undefined route=undefined > \r\n at \u003CNuxtPage> \r\n at \u003COther ref=Ref\u003C Proxy(Object) {…} > > \r\n at \u003CLayoutLoader key=\"other\" layoutProps= {ref: RefImpl} name=\"other\" > \r\n at \u003CNuxtLayoutProvider layoutProps= {ref: RefImpl} key=\"other\" name=\"other\" ... > \r\n at \u003CNuxtLayout> \r\n at \u003CApp key=3 > \r\n at \u003CNuxtRoot>\r\nwarn$1 @ chunk-ZFKCPPMZ.js?v=9a8b1d1e:1503\r\nlogError @ chunk-ZFKCPPMZ.js?v=9a8b1d1e:1709\r\nhandleError @ chunk-ZFKCPPMZ.js?v=9a8b1d1e:1701\r\ncallWithErrorHandling @ chunk-ZFKCPPMZ.js?v=9a8b1d1e:1653\r\nflushJobs @ chunk-ZFKCPPMZ.js?v=9a8b1d1e:1858\r\nPromise.then (async)\r\nqueueFlush @ chunk-ZFKCPPMZ.js?v=9a8b1d1e:1767\r\nqueueJob @ chunk-ZFKCPPMZ.js?v=9a8b1d1e:1761\r\n(anonymous) @ chunk-ZFKCPPMZ.js?v=9a8b1d1e:7571\r\nresetScheduling @ chunk-ZFKCPPMZ.js?v=9a8b1d1e:513\r\ntriggerEffects @ chunk-ZFKCPPMZ.js?v=9a8b1d1e:557\r\ntriggerRefValue @ chunk-ZFKCPPMZ.js?v=9a8b1d1e:1310\r\nset value @ chunk-ZFKCPPMZ.js?v=9a8b1d1e:1355\r\nfinalizeNavigation @ vue-router.js?v=3f89114f:2563\r\n(anonymous) @ vue-router.js?v=3f89114f:2473\r\nPromise.then (async)\r\npushWithRedirect @ vue-router.js?v=3f89114f:2441\r\npush @ vue-router.js?v=3f89114f:2367\r\nnavigate @ vue-router.js?v=3f89114f:1621\r\ncallWithErrorHandling @ chunk-ZFKCPPMZ.js?v=9a8b1d1e:1651\r\ncallWithAsyncErrorHandling @ chunk-ZFKCPPMZ.js?v=9a8b1d1e:1659\r\ninvoker @ chunk-ZFKCPPMZ.js?v=9a8b1d1e:10254\r\nShow 20 more frames\r\nShow less\r\nchunk-ZFKCPPMZ.js?v=9a8b1d1e:9626 Uncaught (in promise) TypeError: Cannot read properties of null (reading 'parentNode')\r\n at parentNode (chunk-ZFKCPPMZ.js?v=9a8b1d1e:9626:30)\r\n at ReactiveEffect.componentUpdateFn [as fn] (chunk-ZFKCPPMZ.js?v=9a8b1d1e:7537:11)\r\n at ReactiveEffect.run (chunk-ZFKCPPMZ.js?v=9a8b1d1e:430:19)\r\n at instance.update (chunk-ZFKCPPMZ.js?v=9a8b1d1e:7577:17)\r\n at callWithErrorHandling (chunk-ZFKCPPMZ.js?v=9a8b1d1e:1651:32)\r\n at flushJobs (chunk-ZFKCPPMZ.js?v=9a8b1d1e:1858:9)\r\nparentNode @ chunk-ZFKCPPMZ.js?v=9a8b1d1e:9626\r\ncomponentUpdateFn @ chunk-ZFKCPPMZ.js?v=9a8b1d1e:7537\r\nrun @ chunk-ZFKCPPMZ.js?v=9a8b1d1e:430\r\ninstance.update @ chunk-ZFKCPPMZ.js?v=9a8b1d1e:7577\r\ncallWithErrorHandling @ chunk-ZFKCPPMZ.js?v=9a8b1d1e:1651\r\nflushJobs @ chunk-ZFKCPPMZ.js?v=9a8b1d1e:1858\r\nShow 6 more frames\r\nShow less\n```\n",[2096,2097],{"name":2004,"color":2005},{"name":1985,"color":1986},25694,"Change Layout whit child and useAsync data cannot read 'parentNode'","2024-02-26T14:15:50Z","https://github.com/nuxt/nuxt/issues/25694",0.68037367,["Reactive",2104],{},["Set"],["ShallowReactive",2107],{"TRc1wZytZ_XrK4EfJfei_Sz-An4H4Yy6syhVxH_PVJc":-1,"awVrjkEHSkg_GEU3lDiC8m16RLiYaUGGK5AdIJTLvV4":-1},"/nuxt/nuxt/29252"]