\n\n3) Navigate to `pages/index.vue`, modify the `console.log()` and save\n\n### Describe the bug\n\nThe previous [issue](https://github.com/nuxt/nuxt/issues/25214) was closed, but the error remains even in the latest Nuxt version.\n\nThe error will disappear if you add `lazy:true` option\n\n```\nconst { data } = await useFetch('https://jsonplaceholder.typicode.com/todos/1', {\n lazy: true\n})\n```\n\nAs you can see, both `app.vue` `layouts/default.vue` are wrapped with `divs` as it was suggested in the previous issue but we still get the bug.\n\nIs adding `lazy` option is the best workaround as for now?\n\n\u003Cimg width=\"500\" alt=\"Image\" src=\"https://github.com/user-attachments/assets/ca5929e7-f84b-4d0f-a57b-e1cf38c34813\" />\n\n### Additional context\n\n_No response_\n\n### Logs\n\n```shell-script\nvirtual:nuxt:/home/gaisinskii/nuxt3-parent-node-null/.nuxt/routes.mjs:16 [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 Proxy(Object) {…} > > \n at \u003CAsyncComponentWrapper ref=Ref\u003C Proxy(Object) {…} > > \n at \u003CLayoutLoader key=\"default\" layoutProps= {ref: RefImpl} name=\"default\" > \n at \u003CNuxtLayoutProvider layoutProps= {ref: RefImpl} key=\"default\" name=\"default\" ... > \n at \u003CNuxtLayout> \n at \u003CApp key=4 > \n at \u003CNuxtRoot>\nwarn$1 @ runtime-core.esm-bundler.js:51\nlogError @ runtime-core.esm-bundler.js:263\nhandleError @ runtime-core.esm-bundler.js:255\ncallWithErrorHandling @ runtime-core.esm-bundler.js:201\nflushJobs @ runtime-core.esm-bundler.js:408\nPromise.then\nqueueFlush @ runtime-core.esm-bundler.js:322\nqueueJob @ runtime-core.esm-bundler.js:317\neffect2.scheduler @ runtime-core.esm-bundler.js:5448\ntrigger @ reactivity.esm-bundler.js:253\nendBatch @ reactivity.esm-bundler.js:311\nnotify @ reactivity.esm-bundler.js:597\ntrigger @ reactivity.esm-bundler.js:571\nset value @ reactivity.esm-bundler.js:1448\nfinalizeNavigation @ vue-router.mjs:3498\n(anonymous) @ vue-router.mjs:3363\nPromise.then\npushWithRedirect @ vue-router.mjs:3330\npush @ vue-router.mjs:3255\nreplace @ vue-router.mjs:3258\naddRoutes @ virtual:nuxt:/home/gaisinskii/nuxt3-parent-node-null/.nuxt/routes.mjs:16\n(anonymous) @ virtual:nuxt:/home/gaisinskii/nuxt3-parent-node-null/.nuxt/routes.mjs:21\n(anonymous) @ client:34\n(anonymous) @ client:208\n(anonymous) @ client:183\nqueueUpdate @ client:183\nawait in queueUpdate\n(anonymous) @ client:884\nhandleMessage @ client:882\nonMessage @ client:299\n(anonymous) @ client:429\ndispatchEvent @ .localservice@runtime.5a421e5b.js:26\n_handleMessage @ .localservice@runtime.5a421e5b.js:26\n_0x3963e2 @ .localservice@runtime.5a421e5b.js:26Understand this warningAI\nruntime-dom.esm-bundler.js:51 Uncaught (in promise) TypeError: Cannot read properties of null (reading 'parentNode')\n at parentNode (runtime-dom.esm-bundler.js:51:30)\n at ReactiveEffect.componentUpdateFn [as fn] (runtime-core.esm-bundler.js:5410:11)\n at ReactiveEffect.run (reactivity.esm-bundler.js:225:19)\n at ReactiveEffect.runIfDirty (reactivity.esm-bundler.js:263:12)\n at callWithErrorHandling (runtime-core.esm-bundler.js:199:33)\n at flushJobs (runtime-core.esm-bundler.js:408:9)\n```",[3170,3173,3174,3177],{"name":3171,"color":3172},"dx","C39D69",{"name":3140,"color":3141},{"name":3175,"color":3176},"vite","3574D1",{"name":3178,"color":3179},"🔨 p3-minor","FBCA04",31493,"TypeError: Cannot read properties of null (reading 'parentNode') with useFetch","2025-03-21T17:04:23Z","https://github.com/nuxt/nuxt/issues/31493",0.687182,{"description":3186,"labels":3187,"number":3188,"owner":3149,"repository":3189,"state":3190,"title":3191,"updated_at":3192,"url":3193,"score":3194},"- [ ] Community profiles (doc & code contributors)\n- [ ] Login GitHub & Socials\n- [ ] Edit on Studio\n",[],1307,"nuxt.com","closed","Main features improvements","2023-07-10T12:41:54Z","https://github.com/nuxt/nuxt.com/issues/1307",0.6613602,{"description":3196,"labels":3197,"number":3203,"owner":3149,"repository":3149,"state":3190,"title":3204,"updated_at":3205,"url":3206,"score":3207},"### Environment\r\n\r\n- Operating System: Windows_NT\r\n- Node Version: v20.7.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: pnpm@8.7.6\r\n\r\n### Reproduction\r\n\r\nhttps://codesandbox.io/p/sandbox/fragrant-bush-m6xj7x?file=%2Fapp.vue%3A1%2C1\r\n\r\n### Describe the bug\r\n\r\nWhen conditionally checking `useAsyncData` for error, that is `error.value !== null`, it doesn't pass, even though (according to type definition) the expected value should be `null` when there is no error. Instead, `undefined` is returned.\r\n\r\n`undefined` in this case is present before the function is run. Further attempts to check the error's value return `null`.\r\n\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_",[3198,3201,3202],{"name":3199,"color":3200},"3.x","29bc7f",{"name":3140,"color":3141},{"name":3178,"color":3179},23411,"Mismatch between value and type definition of error returned by data fetching composables","2023-09-27T13:43:55Z","https://github.com/nuxt/nuxt/issues/23411",0.67110294,{"description":3209,"labels":3210,"number":3215,"owner":3149,"repository":3149,"state":3190,"title":3216,"updated_at":3217,"url":3218,"score":3219},"### Environment\n\n- Operating System: `Linux`\r\n- Node Version: `v18.16.0`\r\n- Nuxt Version: `3.5.3`\r\n- Nitro Version: `2.5.1`\r\n- Package Manager: `npm@9.5.1`\r\n- Builder: `vite`\r\n- User Config: `-`\r\n- Runtime Modules: `-`\r\n- Build Modules: `-`\r\n\n\n### Reproduction\n\nwe have our app in production with nuxt 3.\r\n\r\nwe are reviewing the logs and we see some rare entry logs:\r\n\r\n`TypeError: Cannot read properties of null (reading 'html')`\r\n\r\nThis error is throwed by app:error hook, but we dont know what is launching it :(\r\n\r\nIt's random error. The user agent that throw it are:\r\n\r\n```\r\nMozilla/5.0 (Linux; Android 6.0.1; Nexus 5X Build/MMB29P) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.5735.133 Mobile Safari/537.36 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)\r\nMozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; bingbot/2.0; +http://www.bing.com/bingbot.htm) Chrome/103.0.5060.134 Safari/537.36\r\n```\n\n### Describe the bug\n\nwe have our app in production with nuxt 3.\r\n\r\nwe are reviewing the logs and we see some rare entry logs:\r\n\r\n`TypeError: Cannot read properties of null (reading 'html')`\r\n\r\nThis error is throwed by app:error hook, but we dont know what is launching it :(\r\n\r\nIt's random error. The user agent that throw it are:\r\n\r\n```\r\nMozilla/5.0 (Linux; Android 6.0.1; Nexus 5X Build/MMB29P) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.5735.133 Mobile Safari/537.36 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)\r\nMozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; bingbot/2.0; +http://www.bing.com/bingbot.htm) Chrome/103.0.5060.134 Safari/537.36\r\n```\n\n### Additional context\n\n_No response_\n\n### Logs\n\n_No response_",[3211,3212,3213],{"name":3199,"color":3200},{"name":3160,"color":3161},{"name":3214,"color":3179},"needs reproduction",21712,"TypeError: Cannot read properties of null (reading 'html')","2023-06-27T06:48:14Z","https://github.com/nuxt/nuxt/issues/21712",0.6744246,{"description":3221,"labels":3222,"number":3225,"owner":3149,"repository":3149,"state":3190,"title":3226,"updated_at":3227,"url":3228,"score":3229},"### Environment\r\n\r\n- Operating System: Linux\r\n- Node Version: v18.17.1\r\n- Nuxt Version: 3.9.1\r\n- CLI Version: 3.10.0\r\n- Nitro Version: 2.8.1\r\n- Package Manager: yarn@1.22.19\r\n- Builder: -\r\n- User Config: devtools\r\n- Runtime Modules: -\r\n- Build Modules: -\r\n\r\n### Reproduction\r\n\r\nhttps://stackblitz.com/~/github.com/zabavnikov/nuxt\r\nhttps://stackblitz.com/~/github.com/zabavnikov/nuxt-div (NuxtLayout is wrapped in a div)\r\n\r\n### Describe the bug\r\n\r\nAfter upgrading to the latest version of Nuxt and Vue, an error appeared - TypeError: Cannot read properties of null (reading 'parentNode').\r\n\r\nI noticed that on pages where NuxtLayout is wrapped in a div, this error doesn't occur and navigating to another page works fine.\r\n\r\n### Additional context\r\n\r\n_No response_\r\n\r\n### Logs\r\n\r\n_No response_",[3223,3224],{"name":3199,"color":3200},{"name":3160,"color":3161},25191,"TypeError: Cannot read properties of null (reading 'parentNode')","2024-01-13T15:42:35Z","https://github.com/nuxt/nuxt/issues/25191",0.68171066,{"labels":3231,"number":3243,"owner":3149,"repository":3149,"state":3190,"title":3226,"updated_at":3244,"url":3245,"score":3246},[3232,3233,3236,3237,3240],{"name":3199,"color":3200},{"name":3234,"color":3235},"workaround available","11376d",{"name":3140,"color":3141},{"name":3238,"color":3239},"upstream","E8A36D",{"name":3241,"color":3242},"upstream-bug","B60205",13309,"2025-02-17T17:13:12Z","https://github.com/nuxt/nuxt/issues/13309",0.6825518,{"description":3248,"labels":3249,"number":3254,"owner":3149,"repository":3150,"state":3190,"title":3255,"updated_at":3256,"url":3257,"score":3258},"### Description\n\nThe light mode defaults for Select are pretty good. Not as good for dark mode. How can I at least modify the background and text color of the popup list for dark mode? What is the recommended approach?\n\n\n",[3250,3253],{"name":3251,"color":3252},"question","d876e3",{"name":3143,"color":3144},3595,"How can I improve the dark style of USelect","2025-03-18T20:19:24Z","https://github.com/nuxt/ui/issues/3595",0.6876941,{"description":3260,"labels":3261,"number":3266,"owner":3149,"repository":3149,"state":3190,"title":3267,"updated_at":3268,"url":3269,"score":3270},"\u003C!-- 💚 Thanks for your time to make Nuxt better with your feedbacks 💚\r\n\r\n**IMPORTANT** Before reporting a bug:\r\n\r\n- Please make sure that you have read through Nuxt documentation: https://nuxtjs.org\r\n- If issue is related to a module please create the issue in corresponding repository\r\n- Ensure using latest version of nuxt dependencies using `yarn upgrade nuxt` or `npm upgrade nuxt`\r\n\r\n👍 A properly detailed bug report can save a LOT of time and help fixing issues as soon as possible.\r\n-->\r\n\r\n### Versions\r\n\r\n- nuxt: 2.15.8\r\n- node: v16.13.0\r\n\r\n### Reproduction\r\n\r\n\r\n\r\n### Steps to reproduce\r\n\r\na ssg html loaded for a long time, then scroll it, will come errors like 'Uncaught TypeError: Cannot read properties of null (reading 'width')' and come every several seconds\r\n\u003Cimg width=\"589\" alt=\"image\" src=\"https://user-images.githubusercontent.com/8803409/206097970-d26cba04-39f4-474d-a1a5-a24aaeff9993.png\">\r\n\r\n\r\nhow to fix it.\r\n\r\n\r\n\r\n\r\n\r\n### What is Expected?\r\n\r\n\r\n### What is actually happening?\r\n",[3262,3263],{"name":3160,"color":3161},{"name":3264,"color":3265},"2.x","d4c5f9",10849,"Uncaught TypeError: Cannot read properties of null (reading 'width')","2023-01-22T15:48:35Z","https://github.com/nuxt/nuxt/issues/10849",0.68853456,["Reactive",3272],{},["Set"],["ShallowReactive",3275],{"$fTRc1wZytZ_XrK4EfJfei_Sz-An4H4Yy6syhVxH_PVJc":-1,"$fWqYRkSjKBSpaCB9GKF_3Rgx9TFM0krjOtlAUBrksQmY":-1},"/nuxt/ui/4964"]