\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```",[2939,2940],{"name":2874,"color":2875},{"name":2941,"color":2942},"v3","49DCB8",4166,"ui","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.61666304,{"description":2950,"labels":2951,"number":2959,"owner":2880,"repository":2880,"state":2881,"title":2960,"updated_at":2961,"url":2962,"score":2963},"### Environment\r\n\r\n**App:**\r\n```\r\n- Operating System: `Darwin`\r\n- Node Version: `v18.16.0`\r\n- Nuxt Version: `3.6.5`\r\n- Nitro Version: `2.5.2`\r\n- Package Manager: `npm@9.5.1`\r\n- Builder: `vite`\r\n- User Config: `extends`, `typescript`, `devtools`\r\n- Runtime Modules: `-`\r\n- Build Modules: `-`\r\n```\r\n**Layer:**\r\n```\r\n- Operating System: `Darwin`\r\n- Node Version: `v18.16.0`\r\n- Nuxt Version: `3.6.5`\r\n- Nitro Version: `2.5.2`\r\n- Package Manager: `npm@9.5.1`\r\n- Builder: `vite`\r\n- User Config: `typescript`\r\n- Runtime Modules: `-`\r\n- Build Modules: `-`\r\n```\r\n\r\n\r\n\r\n### Reproduction\r\n\r\n1. clone repo https://github.com/DawidKopys/nuxt-layers\r\n2. Run `npm i` in nuxt-layer directory\r\n3. Run `npm i` in app directory\r\n4. Run `npx vue-tsc --noEmit` / `npm run dev` / `npx nuxi typecheck` inside app directory. You should get below error:\r\n\r\n```\r\n../nuxt-layer/modules/testModule.ts:13:16 - error TS2664: Invalid module name in augmentation, module 'nuxt/schema' cannot be found.\r\n\r\n13 declare module 'nuxt/schema' {\r\n ~~~~~~~~~~~~~\r\n\r\n\r\nFound 1 error in ../nuxt-layer/modules/testModule.ts:13\r\n```\r\n\r\n### Describe the bug\r\n\r\nI am defining a module inside a layer. This module exposes its options to runtime (as per [nuxt docs](https://nuxt.com/docs/guide/going-further/modules#exposing-options-to-runtime)).\r\n\r\nI want to type these runtime options manually so that I can have better DX inside other parts of the layer. For example - I would like to have both working typecheck and IntelliSense for the `testModuleRuntimeConfig` inside `/nuxt-layer/components/HelloWorld.vue`:\r\n\r\n\u003Cimg width=\"763\" alt=\"image\" src=\"https://github.com/nuxt/nuxt/assets/25594858/f04f3fbe-5603-4770-9c00-2eef3b02301e\">\r\n\r\nFor the above reason, I am manually typing runtime config (again, as per [nuxt docs](https://nuxt.com/docs/guide/going-further/runtime-config#manually-typing-runtime-config)) inside the module `testModule.ts`.\r\n\r\n\u003Cimg width=\"529\" alt=\"image\" src=\"https://github.com/nuxt/nuxt/assets/25594858/3109833a-2acd-46d0-8ff5-9c94c2f3e8ec\">\r\n\r\nIt seems to do what I want - I do get typecheck and IntelliSense inside my layer.\r\n\r\n\u003Cimg width=\"692\" alt=\"image\" src=\"https://github.com/nuxt/nuxt/assets/25594858/87468174-662e-4fb6-b146-ae36b63142bb\">\r\n\r\n\r\nThe problem is - **it is also causing an error inside an app extending the layer**:\r\n\r\n\u003Cimg width=\"551\" alt=\"Screenshot 2023-07-22 at 15 16 42\" src=\"https://github.com/nuxt/nuxt/assets/25594858/ba9fffeb-1924-4371-872b-beb649197114\">\r\n\r\nIt seems to be a bug for me. I have not figured out a way to get the types working both in the layer and the app extending my layer*.\r\n\r\n_\\* well, to be honest, for some reason it does seem to work if I add `package.json` in the root of my repo, configure it to be a monorepo, and run `npm i` from this root. But I don't think it is always a solution. I don't want to put my app and layer in a monorepo._\r\n\r\n### Additional context\r\n\r\n_No response_\r\n\r\n### Logs\r\n\r\n_No response_",[2952,2953,2954,2957],{"name":2871,"color":2872},{"name":2874,"color":2875},{"name":2955,"color":2956},"layers","006B75",{"name":2958,"color":2869},"✨ good reproduction",22282,"Manually Typed RuntimeConfig inside Layer causes TypeScript error in app using this layer.","2023-07-24T18:47:44Z","https://github.com/nuxt/nuxt/issues/22282",0.6179497,{"labels":2965,"number":2974,"owner":2880,"repository":2880,"state":2881,"title":2975,"updated_at":2976,"url":2977,"score":2978},[2966,2967,2970,2971],{"name":2871,"color":2872},{"name":2968,"color":2969},"dx","C39D69",{"name":2874,"color":2875},{"name":2972,"color":2973},"🍰 p2-nice-to-have","0E8A16",13904,"Type instantiation is excessively deep and possibly infinite","2023-01-19T17:09:17Z","https://github.com/nuxt/nuxt/issues/13904",0.6194389,{"description":2980,"labels":2981,"number":2985,"owner":2880,"repository":2880,"state":2881,"title":2986,"updated_at":2987,"url":2988,"score":2989},"### Environment\n\n- Operating System: Windows_NT\n- Node Version: v20.16.0\n- Nuxt Version: 3.15.4\n- CLI Version: 3.21.1\n- Nitro Version: 2.10.4\n- Package Manager: npm@10.8.1\n- Builder: -\n- User Config: compatibilityDate, devtools, runtimeConfig, nitro, modules, veeValidate\n- Runtime Modules: @nuxt/eslint@0.7.6, @nuxt/ui@2.21.0, @nuxt/fonts@0.10.3, @nuxtjs/device@3.2.4, @pinia/nuxt@0.9.0, @vee-validate/nuxt@4.15.0\n- Build Modules: -\n\n### Reproduction\n\nJust copy/paste this `nuxt.config.ts`\n\n```ts\nimport PluginVue from '@vitejs/plugin-vue';\n\nexport default defineNuxtConfig({\n compatibilityDate: '2024-04-03',\n devtools: {\n enabled: true,\n },\n runtimeConfig: {\n public: {\n baseURL: process.env.BASE_URL,\n },\n },\n nitro: {\n rollupConfig: {\n plugins: [PluginVue()],\n },\n },\n modules: [\n '@nuxt/eslint',\n '@nuxt/ui',\n '@nuxt/fonts',\n '@nuxtjs/device',\n '@pinia/nuxt',\n '@vee-validate/nuxt',\n ],\n veeValidate: {\n componentNames: {\n Form: 'VeeForm',\n Field: 'VeeField',\n FieldArray: 'VeeFieldArray',\n ErrorMessage: 'VeeErrorMessage',\n },\n },\n});\n\n```\n\n### Describe the bug\n\nWhen using `@vitejs/plugin-vue` in `rollupConfig`, I encounter the following error: **_Type instantiation is excessively deep and possibly infinite_**. I also tried with `nuxi typecheck` and got the same.\n\n\n\n### Additional context\n\nVSCode v1.97.0\n\n### Logs\n\n```shell-script\nnuxt.config.ts:15:16 - error TS2589: Type instantiation is excessively deep and possibly infinite.\n```",[2982,2983],{"name":2893,"color":2894},{"name":2984,"color":2878},"needs reproduction",30919,"Type instantiation is excessively deep and possibly infinite in rollupConfig ❌","2025-02-19T20:42:34Z","https://github.com/nuxt/nuxt/issues/30919",0.6198772,{"labels":2991,"number":2994,"owner":2880,"repository":2880,"state":2881,"title":2995,"updated_at":2996,"url":2997,"score":2998},[2992,2993],{"name":2871,"color":2872},{"name":2893,"color":2894},14561,"Type errors in generated `components.d.ts`","2023-01-19T17:37:13Z","https://github.com/nuxt/nuxt/issues/14561",0.6199786,["Reactive",3000],{},["Set"],["ShallowReactive",3003],{"$fTRc1wZytZ_XrK4EfJfei_Sz-An4H4Yy6syhVxH_PVJc":-1,"$fJGT2qy46GrpQsC-hnDoISBVRWX_7MQH4CqjnR6RzHCk":-1},"/nuxt/ui/2560"]