\r\n \u003C/div>\r\n\r\n \u003Cdiv class=\"max-w-3xl w-full mx-auto py-4\">\r\n \u003Cdiv class=\"flex flex-col gap-6 md:gap-10\">\r\n \u003CContentPageItem\r\n v-for=\"content in contentItems\"\r\n :key=\"content.id\"\r\n :content=\"content\"\r\n @open-share-modal=\"openContentShareModal\" />\r\n \u003C/div>\r\n \u003C/div>\r\n\u003C/template>\r\n\r\n```\r\n\r\n\r\ncomposable\r\n\r\n\r\n```\r\nexport const useNextContentItems = () => {\r\n const $projectServices = useProjectService();\r\n\r\n const state = reactive({\r\n contentItems: [],\r\n });\r\n\r\n\r\n const fetchContentForAsync = (id: number) => {\r\n return $projectServices.repository.getContentById(id);\r\n };\r\n\r\n return {\r\n ...toRefs(state),\r\n fetchContentForAsync\r\n };\r\n};\r\n```\n\n### Describe the bug\n\nregeneratorRuntime is not defined\n\n### Additional context\n\n_No response_\n\n### Logs\n\n_No response_",[3069,3070,3071],{"name":3034,"color":3035},{"name":3021,"color":3022},{"name":3038,"color":3039},24273,"regeneratorRuntime is not defined","2024-03-13T10:14:04Z","https://github.com/nuxt/nuxt/issues/24273",0.659582,{"description":3078,"labels":3079,"number":3082,"owner":3024,"repository":3024,"state":3041,"title":3083,"updated_at":3084,"url":3085,"score":3086},"### Environment\r\n\r\n------------------------------\r\n- Operating System: `Linux`\r\n- Node Version: `v16.14.0`\r\n- Nuxt Version: `3.0.0-rc.8`\r\n- Package Manager: `yarn@3.2.2`\r\n- Builder: `vite`\r\n- User Config: `head`, `typescript`, `modules`, `runtimeConfig`, `components`, `hooks`, `build`, `alias`, `vite`\r\n- Runtime Modules: `~/lib/core/nuxt-modules/storyblok/module.ts`, `@nuxtjs/tailwindcss@5.3.1`\r\n- Build Modules: `-`\r\n------------------------------\r\n\r\n### Reproduction\r\n\r\nhttps://github.com/fabis94/djw3c-frontend-nuxt/pull/2\r\n\r\nOnly thing you need to set up to run this is create an .env file with the values specified in the PR.\r\n\r\nThen do:\r\n`yarn build:netlify` and `yarn start:netlify`\r\n\r\n### Describe the bug\r\n\r\nMy app relies on a [Vue plugin](https://www.npmjs.com/package/@marvr/storyblok-rich-text-vue-renderer) that uses the inject & provide API (through the Composition API) to carry around some data.\r\n\r\nThe problem that occurs when running Nuxt built using the Netlify preset is that the injected data can't be found - you'll see a \"Rich Text Renderer not provided.\" error message. And from my investigation it appears that it can't be found, because `getCurrentInstance()` of `@vue/runtime-core` returns null - it can't resolve the active Vue instance being set up.\r\n\r\nAnd that seems to happen, because there are 2 versions of `@vue/runtime-core` being used during runtime. One is `./node_modules/@vue/runtime-core` and the other one is `./.netlify/functions-internal/server/node_modules/@vue/runtime-core`. I'm guessing that because of that only one of the @vue/runtime-core versions has access to the active Vue instance and the data that was injected into it.\r\n\r\n### Additional context\r\n\r\n_No response_\r\n\r\n### Logs\r\n\r\n_No response_",[3080,3081],{"name":3034,"color":3035},{"name":3021,"color":3022},14685,"inject/provide API broken when building a Netlify preset build","2023-01-19T17:38:45Z","https://github.com/nuxt/nuxt/issues/14685",0.66032284,{"description":3088,"labels":3089,"number":3092,"owner":3024,"repository":3024,"state":3041,"title":3093,"updated_at":3094,"url":3095,"score":3096},"Not sure if this belongs here. Feels like it doesn't belong in the Nuxt repo either, because it's module specific. Let me know if I need to move it.\r\n\r\nSo my situation is the following. I'm further improving my [Nuxt-vuetify module](https://github.com/invictus-codes/nuxt-vuetify). Users of the module, will provide a Vuetify config through the Nuxt.config.ts. Now Vuetify has the following feature when it comes to icons, [fa-svg](https://vuetifyjs.com/en/features/icon-fonts/#font-awesome-svg-icons). To use this feature, you need to provide a function as iconSet (component). This is how it works, I cannot change this. However, this is not the cause of my \"issue\".\r\n\r\nWhat I can't seem to get working is the following, tested it on the nuxt-module-starter:\r\n\r\nIn my Nuxt.config.ts:\r\n```typescript\r\nexport default defineNuxtConfig({\r\n modules: [\"../src/module\"],\r\n myModule: {\r\n testViaConfig() {\r\n console.log(\"test\");\r\n return \"test\";\r\n },\r\n },\r\n});\r\n```\r\n\r\nin my module.ts:\r\n```typescript\r\nimport { defineNuxtModule, addPlugin, createResolver } from \"@nuxt/kit\";\r\n\r\n// Module options TypeScript interface definition\r\nexport interface ModuleOptions {}\r\n\r\nexport default defineNuxtModule\u003CModuleOptions>({\r\n meta: {\r\n name: \"my-module\",\r\n configKey: \"myModule\",\r\n },\r\n // Default configuration options of the Nuxt module\r\n defaults: {},\r\n setup(options, nuxt) {\r\n const resolver = createResolver(import.meta.url);\r\n\r\n nuxt.options.runtimeConfig.public.myModule = {\r\n ...options,\r\n test: \"runtimeConfig, check\",\r\n testViaModule: () => {\r\n console.log(\"test\");\r\n return \"test\";\r\n },\r\n };\r\n // Do not add the extension since the `.ts` will be transpiled to `.mjs` after `npm run prepack`\r\n addPlugin(resolver.resolve(\"./runtime/plugin\"));\r\n },\r\n});\r\n```\r\n\r\nIn my runtime/plugin.ts:\r\n```typescript\r\nimport { defineNuxtPlugin, useRuntimeConfig } from \"#app\";\r\n\r\nexport default defineNuxtPlugin((nuxtApp) => {\r\n const config = useRuntimeConfig();\r\n const options = config.public.myModule;\r\n console.log({ options });\r\n console.log(\"Plugin injected by my-module!\");\r\n});\r\n```\r\n\r\nI would expect that in the browser both the `testViaConfig` and `testViaModule` functions would be logged. Except only the string (defined in module.ts, also passed via runtimeConfig), is logged in the browser.\r\n\r\nI have made a codesandbox to reproduce. You can find it [here](https://codesandbox.io/p/github/jvhellemondt/nuxt-module-starter/draft/trusting-galileo?file=%2Fsrc%2Fmodule.ts&workspaceId=26bac05a-e35e-485b-bb0f-53f697bee73f).\r\n\r\nIs it intended that I cannot pass functions to runtime like this? I have the feeling that it's not possible due to rollup, however I'm definitely not an expert on that. If so, is there another way around? It seems vital that users of the module can provide it via the Nuxt.config.ts from a user experience perspective.\r\n\r\nHope someone is able to help out. If I need to explain further, please let me know.\r\n\r\nThank you in advance.\r\n\r\nBest regards,\r\n\r\nJ",[3090,3091],{"name":3034,"color":3035},{"name":3021,"color":3022},20933,"Question/ bug: How to provide functions from within Nuxt.config.ts or module.ts to runtime?","2024-04-17T06:42:23Z","https://github.com/nuxt/nuxt/issues/20933",0.66433835,{"labels":3098,"number":3101,"owner":3024,"repository":3024,"state":3041,"title":3102,"updated_at":3103,"url":3104,"score":3105},[3099,3100],{"name":3034,"color":3035},{"name":3021,"color":3022},14123,"useRuntimeConfig() is not work","2023-01-19T17:25:22Z","https://github.com/nuxt/nuxt/issues/14123",0.6648418,{"description":3107,"labels":3108,"number":3110,"owner":3024,"repository":3024,"state":3041,"title":3111,"updated_at":3112,"url":3113,"score":3114},"### Environment\n\n------------------------------\r\n- Operating System: Darwin\r\n- Node Version: v22.3.0\r\n- Nuxt Version: 3.12.4\r\n- CLI Version: 3.12.0\r\n- Nitro Version: 2.9.7\r\n- Package Manager: yarn@1.22.22\r\n- Builder: -\r\n- User Config: devtools, app, runtimeConfig, css, modules, eslint, i18n, primevue, image, nuxt-jsonld, mapbox, compatibilityDate\r\n- Runtime Modules: @nuxt/eslint@0.4.0, @nuxtjs/tailwindcss@6.12.1, @nuxtjs/i18n@8.3.3, @primevue/nuxt-module@4.0.3, @nuxt/image@1.7.0, @nuxtjs/strapi@1.12.0, nuxt-icons@3.2.1, @pinia/nuxt@0.5.2, nuxt-jsonld@2.0.8, nuxt-mapbox@1.6.0\r\n- Build Modules: -\r\n------------------------------\n\n### Reproduction\n\nhttps://stackblitz.com/edit/nuxt-starter-csufwc?file=app.vue,pages%2Findex.vue,nuxt.config.ts\n\n### Describe the bug\n\nWhen nuxt-mapbox is not included within the modules in the nuxt.config.ts file, everything works normally, the onMounted hook is triggered every time I land on the page (or when a component is mounted). But, when I include it in the modules, the onMounted hook is only triggered the first time (it almost seems to be cached).\n\n### Additional context\n\n_No response_\n\n### Logs\n\n_No response_",[3109],{"name":3021,"color":3022},28364,"onMounted lifecycle Hook is broken by the library","2024-07-31T18:42:20Z","https://github.com/nuxt/nuxt/issues/28364",0.666111,{"description":3116,"labels":3117,"number":3123,"owner":3024,"repository":3024,"state":3041,"title":3124,"updated_at":3125,"url":3126,"score":3127},"### Environment\n\n------------------------------\n- Operating System: Windows_NT\n- Node Version: v22.11.0\n- Nuxt Version: 3.15.4\n- CLI Version: 3.21.1\n- Nitro Version: 2.10.4\n- Package Manager: bun@1.2.1\n- Builder: -\n- User Config: modules, css, ssr, devtools, future, typescript, vite, hooks, nitro, compatibilityDate, runtimeConfig\n- Runtime Modules: @nuxt/ui@3.0.0-alpha.12, nuxt-mikro-orm-module@0.4.1, @nuxt/eslint@1.0.1, nuxt-auth-utils@0.5.15, @nuxt/image@1.9.0\n- Build Modules: -\n------------------------------\n\n### Reproduction\n\nUse this `app.vue`:\n```\n// app.vue\n\u003Cscript setup lang=\"ts\">\n\n\u003C/script>\n\n\u003Ctemplate>\n \u003C!-- https://github.com/nuxt/nuxt/issues/25214#issuecomment-1894051562 -->\n \u003Cdiv>\n \u003CNuxtLoadingIndicator />\n \u003CNuxtRouteAnnouncer />\n\n \u003CNuxtLayout>\n \u003CUApp>\n \u003CNuxtPage />\n \u003C/UApp>\n \u003C/NuxtLayout>\n \u003C/div>\n\u003C/template>\n\n\u003Cstyle>\nbody {\n @apply antialiased;\n background: var(--ui-bg-muted);\n}\n\n.dark {\n body {\n @apply antialiased;\n background: var(--ui-bg);\n }\n}\n\u003C/style>\n```\n\nGo to any page with layout, wait 10-20 sec then try to navigate to another page.\n\n### Describe the bug\n\nSame problem:\nwhen i use navigateTo cant load the page.\nNavigate using user action(navigation menu mouse click) can't load the page\n\n```\n\"nuxt\": \"^3.15.4\",\n\"vue\": \"^3.5.13\",\n\"vue-router\": \"^4.5.0\",\n\"@nuxt/ui\": \"^3.0.0-alpha.10\",\n```\nI get that warning:\n\n\nThen that error:\n\n\nHere is my `app.vue`:\n```\n\u003Cscript setup lang=\"ts\">\n\n\u003C/script>\n\n\u003Ctemplate>\n \u003C!-- https://github.com/nuxt/nuxt/issues/25214#issuecomment-1894051562 -->\n \u003Cdiv>\n \u003CNuxtLoadingIndicator />\n \u003CNuxtRouteAnnouncer />\n\n \u003CNuxtLayout>\n \u003CUApp>\n \u003CNuxtPage />\n \u003C/UApp>\n \u003C/NuxtLayout>\n \u003C/div>\n\u003C/template>\n\n\u003Cstyle>\nbody {\n @apply antialiased;\n background: var(--ui-bg-muted);\n}\n\n.dark {\n body {\n @apply antialiased;\n background: var(--ui-bg);\n }\n}\n\u003C/style>\n```\n\n@TheAlexLichter \n\n### Additional context\n\n_No response_\n\n### Logs\n\n```shell-script\n\n```",[3118,3119,3120],{"name":3021,"color":3022},{"name":3038,"color":3039},{"name":3121,"color":3122},"closed-by-bot","ededed",31010,"Unhandled error during execution of component update, Uncaught (in promise) TypeError: node is null","2025-02-28T02:01:44Z","https://github.com/nuxt/nuxt/issues/31010",0.6669847,["Reactive",3129],{},["Set"],["ShallowReactive",3132],{"$fTRc1wZytZ_XrK4EfJfei_Sz-An4H4Yy6syhVxH_PVJc":-1,"$fGOkMoiuimNay7nYtGhezo-KZvi-QGyeOuvTBX6Bo_d8":-1},"/nuxt/test-utils/1371"]