to app.vue\n8. start the project via npm run dev\n9. open created localhost link in browser\n[Minimal reproduction link](https://stackblitz.com/edit/github-dksvnc-l71vra)\n\n### Describe the bug\n\nRunning in development mode (and shortly seems to be an issue for production build also) and opening app in browser leads to error in Vue Router. You can still get it work by redirecting to other path by clicking the link to another page, but the error will return after page refresh which is extremely uncomfartable for local work\n\nSetting ssr: false in nuxt.config.ts solves this issue, but we need ssr: true for the project\n\n### Additional context\n\n_No response_\n\n### Logs\n\n```shell-script\n[Vue Router warn]: uncaught error during route navigation:\nCannot destructure property '__webpack_ids__' of 'data' as it is undefined.\n\n at installChunk (node_modules\\nuxt\\dist\\core\\runtime\\nitro\\renderer.js:525:1)\n at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async Promise.all (index 0)\n at setup (node_modules\\nuxt\\dist\\core\\runtime\\nitro\\renderer.js:525:1)\n at applyPlugin (node_modules\\nuxt\\dist\\core\\runtime\\nitro\\renderer.js:525:1)\n at executePlugin (node_modules\\nuxt\\dist\\core\\runtime\\nitro\\renderer.js:525:1)\n at applyPlugins (node_modules\\nuxt\\dist\\core\\runtime\\nitro\\renderer.js:525:1)\n at createNuxtAppServer (node_modules\\nuxt\\dist\\core\\runtime\\nitro\\renderer.js:525:1)\n at async Object.renderToString (/D:/dev/text-nuxt/node_modules/vue-bundle-renderer/dist/runtime.mjs:173:19)\n```",[2884,2887,2890],{"name":2885,"color":2886},"bug","d73a4a",{"name":2888,"color":2889},"webpack","650C6F",{"name":2891,"color":2892},"❗ p4-important","D93F0B",30165,"[Vue Router warn]: uncaught error during route navigation when building with webpack","2024-12-17T06:37:23Z","https://github.com/nuxt/nuxt/issues/30165",0.656354,{"description":2899,"labels":2900,"number":2905,"owner":2875,"repository":2875,"state":2906,"title":2907,"updated_at":2908,"url":2909,"score":2910},"### Environment\n\n------------------------------\r\n- Operating System: Linux\r\n- Node Version: v16.20.0\r\n- Nuxt Version: 3.7.3\r\n- CLI Version: 3.8.3\r\n- Nitro Version: 2.6.3\r\n- Package Manager: npm@9.4.2\r\n- Builder: -\r\n- User Config: -\r\n- Runtime Modules: -\r\n- Build Modules: -\r\n------------------------------\n\n### Reproduction\n\nhttps://stackblitz.com/edit/github-lgq6ak?file=pages%2Fsetup%2F%5Bid%5D.vue\r\n\r\nSetup syntax page:\r\n1. Go to /setup\r\n2. Click on Setup 4 link then click again while the page is loading\r\n\r\nSame in options api page:\r\n1. Go to /items\r\n2. Click on Item 4 link then click again while the page is loading\r\n\r\n\r\nError in console:\r\n\r\n\u003Cimg width=\"1021\" alt=\"Screenshot 2023-09-14 at 3 42 53 PM\" src=\"https://github.com/nuxt/nuxt/assets/133578172/24bdb859-49cb-4ee0-a578-64f0bfa3834d\">\r\n\n\n### Describe the bug\n\nWhen navigating to a page that has an awaiting promise, navigating elsewhere while the page is loading well break the app untill I hard refresh\r\n\n\n### Additional context\n\n_No response_\n\n### Logs\n\n_No response_",[2901,2904],{"name":2902,"color":2903},"3.x","29bc7f",{"name":2866,"color":2867},23218,"closed","Navigation breaks when clicking nuxt-link twice while page is loading","2023-09-14T13:56:16Z","https://github.com/nuxt/nuxt/issues/23218",0.6151291,{"description":2912,"labels":2913,"number":2915,"owner":2875,"repository":2875,"state":2906,"title":2916,"updated_at":2917,"url":2918,"score":2919},"### Environment\r\n\r\nBug is happening since nuxt 3.6.2, especially this commit: https://github.com/nuxt/nuxt/commit/d0dde6426fe6ae58ec1ea94e47c66f6e0e2a4d63\r\n\r\n------------------------------\r\n- Operating System: Windows_NT\r\n- Node Version: v20.10.0\r\n- Nuxt Version: -\r\n- CLI Version: 3.10.1\r\n- Nitro Version: -\r\n- Package Manager: npm@10.2.3\r\n- Builder: -\r\n- User Config: -\r\n- Runtime Modules: -\r\n- Build Modules: -\r\n------------------------------\r\n\r\n### Reproduction\r\n\r\nhttps://stackblitz.com/edit/github-debhpn?file=app.vue\r\n\r\n### Describe the bug\r\n\r\n_Because I didn't want to create components that are big, please use performance tab in devtools and slow down CPU as much as possible so you can see the effect. Bug is happening in dev and after generating. But in real project this can be visible even without cpu slowdown._\r\n\r\nWhen using lazy components with nested routes, nuxt does not wait for page to generate/load all components before removing old node. This causes page to blink. When keeping same route but different url this problem does not happen (See video, name of the route is on top).\r\n\r\n3.6.2+ (On video 10.3.1 [Stackblitz](https://stackblitz.com/edit/github-debhpn?file=app.vue))\r\n\r\nhttps://github.com/nuxt/nuxt/assets/34748386/172f4f8f-0f0b-4092-b36a-5a0b9093a971\r\n\r\n3.6.1 ([Stackblitz](https://stackblitz.com/edit/github-debhpn-vunj6r?file=package.json))\r\n\r\nhttps://github.com/nuxt/nuxt/assets/34748386/3d29d506-33c1-44c7-b808-0a6246e1da1e\r\n\r\n\r\n### Additional context\r\n\r\nI'm working with CMS and I want to get list of components used in page and generate static page based on that. I've also noticed that [this function](https://github.com/nuxt/nuxt/blob/5dc96de8a928d10e90f47d9941ed7402328b1e3f/packages/nuxt/src/pages/runtime/page.ts#L71) is called twice when changing routes\r\n\r\nWorkarounds:\r\n\r\n- Register component globally\r\n- Use catch all route and handle everything there thus not changing route do not cause this issue.\r\n- Add page transition to hide this blink (even 0.3s works for me)\r\n\r\n### Logs\r\n\r\n_No response_",[2914],{"name":2866,"color":2867},26258,"Page is being rendered twice when using nested routes with async components.","2024-12-09T14:53:26Z","https://github.com/nuxt/nuxt/issues/26258",0.6442713,{"description":2921,"labels":2922,"number":2928,"owner":2875,"repository":2875,"state":2906,"title":2929,"updated_at":2930,"url":2931,"score":2932},"**reproduction**: https://stackblitz.com/edit/github-cmeky2-mysxox\r\n\r\n```\r\n[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 \u003CNuxtRoot>\r\nUncaught (in promise) TypeError: Cannot read properties of null (reading 'parentNode')\r\n```\r\n\r\nContext: https://github.com/nuxt/nuxt.js/issues/13788",[2923,2924,2925],{"name":2902,"color":2903},{"name":2885,"color":2886},{"name":2926,"color":2927},"🔨 p3-minor","FBCA04",14693,"errors when navigating back and forth from error pages","2023-04-25T15:13:24Z","https://github.com/nuxt/nuxt/issues/14693",0.6568161,{"labels":2934,"number":2942,"owner":2875,"repository":2875,"state":2906,"title":2943,"updated_at":2944,"url":2945,"score":2946},[2935,2938,2939],{"name":2936,"color":2937},"stale","ffffff",{"name":2866,"color":2867},{"name":2940,"color":2941},"2.x","d4c5f9",8256,"Router Navigation Inside asyncData Is Buggy","2023-01-22T15:38:17Z","https://github.com/nuxt/nuxt/issues/8256",0.66194665,{"description":2948,"labels":2949,"number":2951,"owner":2875,"repository":2875,"state":2906,"title":2952,"updated_at":2953,"url":2954,"score":2955},"### Environment\n\n- Operating System: `Darwin`\r\n- Node Version: `v22.2.0`\r\n- Nuxt Version: `3.13.0`\r\n- CLI Version: `3.12.0`\r\n- Nitro Version: `2.9.7`\r\n- Package Manager: `yarn@1.22.19`\r\n- Builder: `-`\r\n- User Config: `-`\r\n- Runtime Modules: `-`\r\n- Build Modules: `-`\n\n### Reproduction\n\nhttps://stackblitz.com/edit/github-i2zbwk?file=app%2Frouter.options.ts\n\n### Describe the bug\n\nUsing a nuxt composables like useNuxtApp or useRuntimeConfig inside the routes function in the router.options.ts was and is still possible if the routes are NOT written as async/await. \r\n\r\nWith the new possibility added in 3.13.0 to await an api call, it's breaks the application.\r\n\r\nWe are using the useNuxtApp() to retrieve some plugins which are `enforce: pre` to load pages of modules which can extend the router during runtime before the router is initialized.\r\n\r\nNevertheless the reproduction of this issues shows the principle idea. \r\n\r\nThank you in advance to take a look at this\r\nMattias\n\n### Additional context\n\nThis bug was introduced with the possibility of having routes method in router.options.ts to be async/await in https://github.com/nuxt/nuxt/pull/27644\n\n### Logs\n\n```shell-script\nError: [nuxt] A composable that requires access to the Nuxt instance was called outside of a plugin, Nuxt hook, Nuxt middleware, or Vue setup function. This is probably not a Nuxt bug. Find out more at https://nuxt.com/docs/guide/concepts/auto-imports#vue-and-nuxt-composables. error=Error: [nuxt] A composable that requires access to the Nuxt instance was called outside of a plugin, Nuxt hook, Nuxt middleware, or Vue setup function. This is probably not a Nuxt bug. Find out more at https://nuxt.com/docs/guide/concepts/auto-imports#vue-and-nuxt-composables.\r\n at Module.useNuxtApp (/Users/mhaberbusch/Dev/digital-tp/web-frontend-svc/node_modules/nuxt/dist/app/nuxt.js:252:13)\r\n at Object.routes (/Users/mhaberbusch/Dev/digital-tp/web-frontend-svc/app/router.options.ts:11:51)\n```\n",[2950],{"name":2866,"color":2867},28661,"Async/Await in router.options.ts with a nuxt composables breaks the app","2024-08-23T09:01:48Z","https://github.com/nuxt/nuxt/issues/28661",0.66398746,{"labels":2957,"number":2961,"owner":2875,"repository":2875,"state":2906,"title":2962,"updated_at":2963,"url":2964,"score":2965},[2958,2959,2960],{"name":2936,"color":2937},{"name":2866,"color":2867},{"name":2940,"color":2941},7736,"Loading chunk pages/index failed. (timeout: http://localhost:3000/_nuxt/pages/index.js)","2023-01-22T15:36:04Z","https://github.com/nuxt/nuxt/issues/7736",0.66419894,{"description":2967,"labels":2968,"number":2971,"owner":2875,"repository":2875,"state":2906,"title":2972,"updated_at":2973,"url":2974,"score":2975},"### Version\r\n\r\n[v1.4.4](https://github.com/nuxt.js/releases/tag/v1.4.4)\r\n\r\n### Reproduction link\r\n\r\n[https://codesandbox.io/s/6x1ww89xon](https://codesandbox.io/s/6x1ww89xon)\r\n\r\n### Steps to reproduce\r\n\r\n1. Create list of `\u003Cnuxt-link>` elements wrapped within `\u003Ctransition-group>`\r\n2. Click any of the links to navigate to another page\r\n\r\n### What is expected ?\r\n\r\nFor target page to load\r\n\r\n### What is actually happening?\r\n\r\nPage loading error is thrown\r\n\r\n### Additional comments?\r\n\r\nError (`Cannot read property 'length' of undefined`) triggers within TransitionGroup component, in `updated` life cycle.\r\n\r\n```js\r\n updated: function updated () {\r\n var children = this.prevChildren;\r\n var moveClass = this.moveClass || ((this.name || 'v') + '-move');\r\n if (!children.length || !this.hasMove(children[0].elm, moveClass)) {\r\n return\r\n }\r\n```\r\n\r\nThe reason for that is probably due to Nuxt triggering asyncData handler on the page to-be-navigated-to and something is triggering the list update while that happens.\r\n\r\nI've also created testcase (https://codesandbox.io/s/kxp0pqnomv) using pure Vue and VueRouter but it doesn't reproduce there. Probably because navigation happens synchronously (there is no async step for fetching data for the-page-to-be-loaded).\r\n\r\n\r\n\u003C!--cmty-->\u003C!--cmty_prevent_hook-->\r\n\u003Cdiv align=\"right\">\u003Csub>\u003Cem>This bug report is available on \u003Ca href=\"https://cmty.app/nuxt\">Nuxt\u003C/a> community (\u003Ca href=\"https://cmty.app/nuxt/nuxt.js/issues/c8126\">#c8126\u003C/a>)\u003C/em>\u003C/sub>\u003C/div>",[2969,2970],{"name":2866,"color":2867},{"name":2940,"color":2941},4319,"Clicking nuxt-link within transition-group triggers page loading error","2023-01-22T15:30:07Z","https://github.com/nuxt/nuxt/issues/4319",0.6647257,{"labels":2977,"number":2980,"owner":2875,"repository":2875,"state":2906,"title":2981,"updated_at":2982,"url":2983,"score":2984},[2978,2979],{"name":2866,"color":2867},{"name":2940,"color":2941},7379,"Random error on navigating pages","2023-01-22T15:34:50Z","https://github.com/nuxt/nuxt/issues/7379",0.66579413,["Reactive",2986],{},["Set"],["ShallowReactive",2989],{"$fTRc1wZytZ_XrK4EfJfei_Sz-An4H4Yy6syhVxH_PVJc":-1,"$fzZ8GqVEmojFByosyIlbx-MIboeZx7CX34OoEvMeGI8c":-1},"/nuxt/nuxt/23636"]