\n ~~~~~~~\n\napp/pages/index.vue:9:22 - error TS2353: Object literal may only specify known properties, and 'modelModifiers' does not exist in type '{ readonly onBlur?: ((event: FocusEvent) => any) | undefined; readonly onChange?: ((event: Event) => any) | undefined; readonly \"onUpdate:modelValue\"?: ((payload: string) => any) | undefined; ... 24 more ...; modelValue?: string | undefined; } & VNodeProps & AllowedComponentProps & ComponentCustomProps'.\n\n9 \u003CUInput v-model.lazy=\"myText\" />\n ~~~~~\n\n\nFound 2 errors in the same file, starting at: app/pages/index.vue:8\n\n\n ERROR Process exited with non-zero status (2) 11:09:41 AM\n\n at R._waitForOutput (/root/.cache/pnpm/v3/tmp/dlx-4483/node_modules/.pnpm/nuxi@3.25.1/node_modules/nuxi/dist/chunks/main.mjs:508:13)\n at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async Object.run (/root/.cache/pnpm/v3/tmp/dlx-4483/node_modules/.pnpm/nuxi@3.25.1/node_modules/nuxi/dist/chunks/typecheck.mjs:91:9)\n at async runCommand$1 (/root/.cache/pnpm/v3/tmp/dlx-4483/node_modules/.pnpm/nuxi@3.25.1/node_modules/nuxi/dist/shared/nuxi.BlFGnQYG.mjs:1767:16)\n at async runCommand$1 (/root/.cache/pnpm/v3/tmp/dlx-4483/node_modules/.pnpm/nuxi@3.25.1/node_modules/nuxi/dist/shared/nuxi.BlFGnQYG.mjs:1758:11)\n at async runMain$1 (/root/.cache/pnpm/v3/tmp/dlx-4483/node_modules/.pnpm/nuxi@3.25.1/node_modules/nuxi/dist/shared/nuxi.BlFGnQYG.mjs:1896:7) \n\n\n\n ERROR Process exited with non-zero status (2)\n```",[2898,2899],{"name":2857,"color":2858},{"name":2860,"color":2861},4166,"closed","Built-in v-model modifiers produce type errors with v3.1.2","2025-05-22T12:51:25Z","https://github.com/nuxt/ui/issues/4166",0.6115366,{"description":2907,"labels":2908,"number":2911,"owner":2866,"repository":2867,"state":2901,"title":2912,"updated_at":2913,"url":2914,"score":2915},"### Environment\n\n- Operating System: Linux\n- Node Version: v22.14.0\n- Nuxt Version: 3.17.1\n- CLI Version: 3.25.0\n- Nitro Version: 2.11.11\n- Package Manager: npm@10.9.2\n- Builder: -\n- User Config: app, build, colorMode, compatibilityDate, debug, devtools, fonts, future, hooks, i18n, icon, imports, modules, nitro, routeRules, runtimeConfig, security, ssr, sourcemap, css, telemetry, vite\n- Runtime Modules: @nuxt/eslint@1.3.0, @pinia/nuxt@0.11.0, @vueuse/nuxt@13.1.0, @nuxtjs/i18n@9.5.3, nuxt-security@2.2.0, @nuxt/ui@3.1.0\n- Build Modules: -\n\n### Is this bug related to Nuxt or Vue?\n\nNuxt\n\n### Version\n\nv3.1.0\n\n### Reproduction\n\nhttps://codesandbox.io/p/devbox/weathered-resonance-r7wcmc?file=%2Fapp%2Fpages%2Findex.vue\n\n### Description\n\nThe carousel item generic type does not seem to work anymore. Unfortunately I'm not sure, which is the last version of nuxt ui where it works :(\n\n\n\n### Additional context\n\n_No response_\n\n### Logs\n\n```shell-script\n'item' is possibly 'null'. \nProperty 'title' does not exist on type 'string | number | Record\u003Cstring, any>'.\n Property 'title' does not exist on type 'string'.\n```",[2909,2910],{"name":2857,"color":2858},{"name":2860,"color":2861},4020,"Generic Type Issue with Carousel Component","2025-04-29T15:39:36Z","https://github.com/nuxt/ui/issues/4020",0.6152374,{"description":2917,"labels":2918,"number":2922,"owner":2866,"repository":2867,"state":2901,"title":2923,"updated_at":2924,"url":2925,"score":2926},"### Environment\n\n- Operating System: Darwin\n- Node Version: v22.11.0\n- Nuxt Version: 3.17.1\n- CLI Version: 3.25.0\n- Nitro Version: 2.11.11\n- Package Manager: npm@11.3.0\n- Builder: -\n- User Config: compatibilityDate, devtools, modules, css, runtimeConfig, ui\n- Runtime Modules: @nuxt/ui@3.1.0, @formkit/auto-animate/nuxt@0.8.2\n- Build Modules: -\n\n### Is this bug related to Nuxt or Vue?\n\nNuxt\n\n### Version\n\nv3.1.0\n\n### Reproduction\n\n-\n\n### Description\n\nAfter upgrading from v3.0.2 to v3.1.0 I'm missing types for event binding directives and intellisense/automcomplete for attributes of all Nuxt UI components. Below I added a specific example for the Table component, but this happens to all components. I have removed node_modules, reinstalled, cleared the .nuxt and .output directories, and tried setting up a new project as well (using `npx nuxi init -t ui \u003Cmy-app>`).\n\nMissing types on event binding directives:\n\u003Cimg width=\"712\" alt=\"Image\" src=\"https://github.com/user-attachments/assets/b3bb862c-16aa-4deb-aa12-c07211034f9b\" />\n\nMissing autocomplete:\n\u003Cimg width=\"487\" alt=\"Image\" src=\"https://github.com/user-attachments/assets/8a851f0a-5894-41ae-8cdf-3f2f51d2ab52\" />\n\n\n### Additional context\n\n_No response_\n\n### Logs\n\n```shell-script\n\n```",[2919,2920,2921],{"name":2857,"color":2858},{"name":2860,"color":2861},{"name":2863,"color":2864},4029,"Where are all the types? v3.0.2 -> v3.1.0 upgrade","2025-04-30T12:20:42Z","https://github.com/nuxt/ui/issues/4029",0.62193716,{"description":2928,"labels":2929,"number":2939,"owner":2866,"repository":2866,"state":2901,"title":2940,"updated_at":2941,"url":2942,"score":2943},"### Environment\n\n------------------------------\r\n- Operating System: `Windows_NT`\r\n- Node Version: `v16.16.0`\r\n- Nuxt Version: `3.2.3`\r\n- Nitro Version: `2.2.3`\r\n- Package Manager: `npm@9.4.0`\r\n- Builder: `vite`\r\n- User Config: `alias`, `app`, `build`, `imports`, `modules`, `naiveUI`, `ssr`, `supabase`, `runtimeConfig`, `tailwindcss`, `typescript`\r\n- Runtime Modules: `@vueuse/nuxt@9.13.0`, `@nuxtjs/tailwindcss@6.4.1`, `@pinia/nuxt@0.4.7`, `@nuxtjs/critters@0.4.0`, `@nuxtjs/fontaine@0.2.4`, `@nuxtjs/google-fonts@3.0.0-1`, `@nuxt/image-edge@1.0.0-27954023.4cee565`, `nuxt-headlessui@1.1.1`, `@nuxtjs/supabase@0.3.1`, `@formkit/nuxt@1.0.0-beta.15`, `@huntersofbook/naive-ui-nuxt@0.7.1` \r\n- Build Modules: `-`\n\n### Reproduction\n\nI am sorry to open this without a reproduction, but I simply cannot reproduce this. It happens in a specific repo, and I have tried thousands of things, though cannot find what causes the issue. \r\n\r\nI am opening this issue so that people can weigh in and if there are others experiencing this, they can use the hack I've found (see below).\n\n### Describe the bug\n\nAuto import of my components work great. But their types are not recognized in VS Code. Whenever I hover over a component in the `\u003Ctemplate>` section of an SFC, its type is indicated as `any`. \r\n\r\nIt is very weird but I've found a hack: When I reference the `.nuxt/components` path anywhere in the project, the types start working. So I added this line to my `app.vue` file:\r\n\r\n```\r\nimport {} from \".nuxt/components\";\r\n``` \r\n\r\nI think something is causing Nuxt to ignore the `.nuxt/components` path but when I reference it somewhere, Nuxt starts recognizing it back.\r\n\r\nI'd be forever grateful if someone knows what is going on here and suggest where to look.\n\n### Additional context\n\n_No response_\n\n### Logs\n\n_No response_",[2930,2933,2936],{"name":2931,"color":2932},"3.x","29bc7f",{"name":2934,"color":2935},"pending triage","E99695",{"name":2937,"color":2938},"needs reproduction","FBCA04",19427,"Auto imported component types do not work","2023-03-08T08:40:06Z","https://github.com/nuxt/nuxt/issues/19427",0.62603754,{"description":2945,"labels":2946,"number":2951,"owner":2866,"repository":2866,"state":2901,"title":2952,"updated_at":2953,"url":2954,"score":2955},"### Environment\r\n\r\n- Operating System: `Darwin`\r\n- Node Version: `v21.6.2`\r\n- Nuxt Version: `3.11.0`\r\n- CLI Version: `3.10.1`\r\n- Nitro Version: `2.9.4`\r\n- Package Manager: `pnpm@8.15.4`\r\n- Builder: `-`\r\n- User Config: `app`, `css`, `devtools`, `experimental`, `googleFonts`, `i18n`, `image`, `modules`, `nitro`, `pinia`, `primevue`, `runtimeConfig`, `tailwindcss`, `typescript`, `vite`\r\n- Runtime Modules: `@nuxtjs/tailwindcss@6.11.4`, `@nuxt/test-utils/module@3.12.0`, `nuxt-primevue@0.3.1`, `@nuxtjs/i18n@8.2.0`, `@nuxt/image@1.4.0`, `@nuxtjs/google-fonts@3.2.0`, `@aksharahegde/nuxt-glow@1.1.2`, `@pinia/nuxt@0.5.1`\r\n- Build Modules: `-`\r\n\r\n\r\n### Reproduction\r\n\r\nYou can reproduce the issue with my repo on this PR : https://github.com/antoinezanardi/werewolves-assistant-web-next/pull/260\r\n\r\n### Describe the bug\r\n\r\nWhen I tried to update to the latest version of nuxt `v3.11.0`, I have encountered an issue which is, I believe, related to components generated types.\r\n\r\nWhen I try to lint the project (with `pnpm run lint:fix`), it warns me that some components I'm using in dynamic imports are of type `any`, even if the application is perfectly building.\r\n\r\nHere is an example of the issue in a vue component : \r\n\r\n```vue\r\n\u003Cscript lang=\"ts\" setup>\r\nimport { storeToRefs } from \"pinia\";\r\n\r\nimport GameBuryDeadBodiesPlayground from \"~/components/pages/game/GamePlaying/GamePlayground/GamePlaygroundContent/GameBuryDeadBodiesPlayground/GameBuryDeadBodiesPlayground.vue\";\r\nimport GameChooseCardPlayground from \"~/components/pages/game/GamePlaying/GamePlayground/GamePlaygroundContent/GameChooseCardPlayground/GameChooseCardPlayground.vue\";\r\nimport GameChooseSidePlayground from \"~/components/pages/game/GamePlaying/GamePlayground/GamePlaygroundContent/GameChooseSidePlayground/GameChooseSidePlayground.vue\";\r\nimport GameNoActionPlayground from \"~/components/pages/game/GamePlaying/GamePlayground/GamePlaygroundContent/GameNoActionPlayground/GameNoActionPlayground.vue\";\r\nimport GameRequestAnotherVotePlayground from \"~/components/pages/game/GamePlaying/GamePlayground/GamePlaygroundContent/GameRequestAnotherVotePlayground/GameRequestAnotherVotePlayground.vue\";\r\nimport GameTargetPlayground from \"~/components/pages/game/GamePlaying/GamePlayground/GamePlaygroundContent/GameTargetPlayground/GameTargetPlayground.vue\";\r\nimport GameUsePotionsPlayground from \"~/components/pages/game/GamePlaying/GamePlayground/GamePlaygroundContent/GameUsePotionsPlayground/GameUsePotionsPlayground.vue\";\r\nimport GameVotePlayground from \"~/components/pages/game/GamePlaying/GamePlayground/GamePlaygroundContent/GameVotePlayground/GameVotePlayground.vue\";\r\nimport { useGamePlay } from \"~/composables/api/game/game-play/useGamePlay\";\r\nimport type { GamePlayType } from \"~/composables/api/game/types/game-play/game-play.types\";\r\nimport { useGameStore } from \"~/stores/game/useGameStore\";\r\n\r\ntype GamePlaygroundTypeComponent =\r\n | typeof GameBuryDeadBodiesPlayground // 🚨 Starting from here, the components are of type `any` for `eslint` \r\n | typeof GameChooseCardPlayground // 🚨\r\n | typeof GameChooseSidePlayground // 🚨\r\n | typeof GameNoActionPlayground // 🚨\r\n | typeof GameRequestAnotherVotePlayground // 🚨\r\n | typeof GameTargetPlayground // 🚨\r\n | typeof GameUsePotionsPlayground // 🚨\r\n | typeof GameVotePlayground; // 🚨\r\n\r\nconst gameStore = useGameStore();\r\nconst { game } = storeToRefs(gameStore);\r\n\r\nconst { currentPlayType } = useGamePlay(game);\r\n\r\nconst gamePlaygroundTypeComponentToRender = computed\u003CGamePlaygroundTypeComponent | undefined>(() => {\r\n const { currentPlay } = game.value;\r\n if (currentPlay?.action === \"use-potions\") {\r\n return GameUsePotionsPlayground;\r\n }\r\n const currentGamePlayTypeComponents: Record\u003CGamePlayType, GamePlaygroundTypeComponent> = {\r\n \"bury-dead-bodies\": GameBuryDeadBodiesPlayground,\r\n \"choose-card\": GameChooseCardPlayground,\r\n \"choose-side\": GameChooseSidePlayground,\r\n \"no-action\": GameNoActionPlayground,\r\n \"request-another-vote\": GameRequestAnotherVotePlayground,\r\n \"target\": GameTargetPlayground,\r\n \"vote\": GameVotePlayground,\r\n };\r\n\r\n return currentPlayType.value ? currentGamePlayTypeComponents[currentPlayType.value] : undefined;\r\n});\r\n\u003C/script>\r\n```\r\n\r\nBut this issue doesn't show up only in `eslint`, but even in `stryker-js` (a mutation tests runner). It can't resolve any of the components with the message below : \r\n\r\n```bash\r\ntests/unit/specs/components/layouts/default/NavBar.nuxt.spec.ts(5,20): error TS2307: Cannot find module '~/components/layouts/default/NavBar/NavBar.vue' or its corresponding type declarations.\r\ntests/unit/specs/components/layouts/default/ParametersMenu/ParametersMenu.nuxt.spec.ts(11,28): error TS2307: Cannot find module '~/components/layouts/default/NavBar/ParametersMenu/ParametersMenu.vue' or its corresponding type declarations.\r\ntests/unit/specs/components/pages/about/AboutAvailableRoles/AboutAvailableRoles.nuxt.spec.ts(7,43): error TS2307: Cannot find module '~/components/pages/about/AboutAvailableRoles/AboutAvailableRoleDescription/AboutAvailableRoleDescription.vue' or its corresponding type declarations.\r\ntests/unit/specs/components/pages/about/AboutAvailableRoles/AboutAvailableRoles.nuxt.spec.ts(8,33): error TS2307: Cannot find module '~/components/pages/about/AboutAvailableRoles/AboutAvailableRoles.vue' or its corresponding type declarations.\r\ntests/unit/specs/components/pages/about/AboutAvailableRoles/AboutAvailableRoles.nuxt.spec.ts(9,38): error TS2307: Cannot find module '~/components/shared/misc/TextProgressSpinner/TextProgressSpinner.vue' or its corresponding type declarations.\r\n```\r\n\r\nApart of these tools, the `vitest` can run all tests without errors and the app is starting fine… All of these were working in `v3.10.0` of nuxt.\r\n\r\nIs it maybe a problem with the way I'm importing the components in the `vue` and `tests` files ? I tried to resolve them from the `#components` path, same issue. Maybe I need to add something in the `tsconfig.json` file for correct type resolving ?\r\n\r\nThanks a lot for your help ❤️ \r\n\r\n### Additional context\r\n\r\n_No response_\r\n\r\n### Logs\r\n\r\n_No response_\n```[tasklist]\n### Tasks\n```\n",[2947,2950],{"name":2948,"color":2949},"types","2875C3",{"name":2934,"color":2935},26311,"Bad component types since nuxt `v3.11.0`","2024-09-04T14:42:46Z","https://github.com/nuxt/nuxt/issues/26311",0.6374645,{"description":2957,"labels":2958,"number":2968,"owner":2866,"repository":2866,"state":2901,"title":2969,"updated_at":2970,"url":2971,"score":2972},"### Environment\n\nStackblitz\r\n\r\n````\r\n------------------------------\r\n- Operating System: Linux\r\n- Node Version: v18.18.0\r\n- Nuxt Version: 3.10.3\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: extends\r\n- Runtime Modules: -\r\n- Build Modules: -\r\n------------------------------\r\n````\n\n### Reproduction\n\nhttps://stackblitz.com/github/martinszeltins/found-nuxt-components-issue?file=app.vue\n\n### Describe the bug\n\nWhen I add this module to my modules array in nuxt.config.ts then I lose all typings for my components _(for both local and 3rd party components)._ It shows that components have type of `unknown`. Before I add this module, everything works.\r\n\r\n**nuxt.config.ts** 👇️\r\n```diff\r\nmodules: [\r\n+ '@nuxtjs/i18n', // This breaks all auto-import component typings (components not recognized anymore)\r\n '@vueuse/nuxt',\r\n 'nuxt-primevue'\r\n],\r\n```\r\n\r\nIf I remove it from my modules array then everything works again.\r\n\r\n**Screenshot before adding the module (everything works):** 👍️ 👇️\r\n\r\n\r\n\r\n**Screenshot after adding the module (type unknown):** ❌ 👇️\r\n\r\n\r\n\n\n### Additional context\n\n_No response_\n\n### Logs\n\n_No response_",[2959,2960,2961,2964,2965],{"name":2948,"color":2949},{"name":2931,"color":2932},{"name":2962,"color":2963},"workaround available","11376d",{"name":2857,"color":2858},{"name":2966,"color":2967},"upstream","E8A36D",26214,"Adding `@nuxtjs/i18n` to Nuxt breaks component types (shows unknown)","2024-05-27T10:28:40Z","https://github.com/nuxt/nuxt/issues/26214",0.64200646,{"description":2974,"labels":2975,"number":2978,"owner":2866,"repository":2866,"state":2901,"title":2979,"updated_at":2980,"url":2981,"score":2982},"### Environment\r\n\r\n------------------------------\r\n- Operating System: Linux\r\n- Node Version: v18.17.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: npm@9.6.6\r\n- Builder: -\r\n- User Config: devtools, typescript, vue, modules, i18n, quasar, site, nitro, routeRules, sitemap, runtimeConfig, css, security\r\n- Runtime Modules: @nuxtjs/i18n@8.3.1, @pinia/nuxt@0.5.1, @pinia-plugin-persistedstate/nuxt@1.2.0, @nuxtjs/seo@2.0.0-rc.10, nuxt-quasar-ui@2.1.2, nuxt-security@2.0.0-rc.9\r\n- Build Modules: -\r\n------------------------------\r\n\r\n### Reproduction\r\n\r\nit looks like auto import is not working\r\n\r\n\r\n### Describe the bug\r\n\r\nif i upgrade vue-tsc version,\r\n\r\ni can't npm run build or dev\r\n\r\nbecause I encounter errors with composable... etc.\r\n\r\n\r\n\r\n\r\n`components/recruit/Table.vue:29:11 - error TS2339: Property 'convertUnixtoYMD' does not exist on type 'CreateComponentPublicInstance\u003CReadonly\u003CExtractPropTypes\u003C__VLS_TypePropsToOption\u003C{ searchStr: string; data: RecruitList[]; }>>>, {}, unknown, ... 16 more ..., {}>'.\r\n\r\n29 convertUnixtoYMD(item.endTime)\r\n ~~~~~~~~~~~~~~~~\r\n`\r\n`components/solution/Intro.vue:40:21 - error TS2339: Property 'navigateTo' does not exist on type 'CreateComponentPublicInstance\u003CReadonly\u003CExtractPropTypes\u003C__VLS_TypePropsToOption\u003C{ data: Res_Solution; }>>>, { t: ComposerTranslation\u003C{ [x: string]: LocaleMessage\u003CVueMessageType>; }, ... 4 more ..., string>; }, ... 17 more ..., {}>'.\r\n\r\n40 @click=\"navigateTo({ path: '/customer/brochure' })\"\r\n ~~~~~~~~~~\r\n`\r\n\r\nit looks like auto import is not working\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_",[2976,2977],{"name":2934,"color":2935},{"name":2937,"color":2938},28440,"error with vue-tsc 2.0.29","2024-08-09T14:28:00Z","https://github.com/nuxt/nuxt/issues/28440",0.6434795,["Reactive",2984],{},["Set"],["ShallowReactive",2987],{"$fTRc1wZytZ_XrK4EfJfei_Sz-An4H4Yy6syhVxH_PVJc":-1,"$fHkgqkfd2FPcdyANqrmEZyHf98jKdCpC2PoycbjSUeRA":-1},"/nuxt/ui/4019"]