\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```",[3211,3212],{"name":3146,"color":3147},{"name":3213,"color":3214},"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.6166631,{"description":3222,"labels":3223,"number":3231,"owner":3152,"repository":3152,"state":3153,"title":3232,"updated_at":3233,"url":3234,"score":3235},"### 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_",[3224,3225,3226,3229],{"name":3143,"color":3144},{"name":3146,"color":3147},{"name":3227,"color":3228},"layers","006B75",{"name":3230,"color":3141},"✨ 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,{"description":3237,"labels":3238,"number":3249,"owner":3152,"repository":3216,"state":3153,"title":3250,"updated_at":3251,"url":3252,"score":3253},"### Environment\n\n- Operating System: `Windows_NT`\n- Node Version: `v22.11.0`\n- Nuxt Version: `3.16.2`\n- CLI Version: `3.24.1`\n- Nitro Version: `2.11.9`\n- Package Manager: `pnpm@9.12.2`\n- Builder: `-`\n- User Config: `future`, `compatibilityDate`, `devtools`, `modules`, `css`\n- Runtime Modules: `@nuxt/ui@3.0.2`, `@vueuse/nuxt@13.1.0`, `@vue-macros/nuxt@3.0.0-beta.8`\n- Build Modules: `-`\n\n\n### Is this bug related to Nuxt or Vue?\n\nNuxt\n\n### Version\n\nv3.16.2\n\n### Reproduction\n\nhttps://codesandbox.io/p/devbox/new-star-4x9vqf\n\njust run the repo check in terminal for warnings\n\n### Description\n\nhi, \n\ni am getting type warnings like this for all components, every thing works fine, i am not even using typescript in my Vue SFC\n\n```\n WARN warning: unplugin-vue-better-define TransformError: Cannot resolve TS type: ButtonProps 11:01:47 pm \n Plugin: unplugin-vue-better-define\n File: F:/node-local/nuxt-apps/nuxt-with-nuxt-ui/node_modules/.pnpm/@nuxt+ui@3.0.2_@babel+parser@7.27.0_db0@0.3.1_embla-carousel@8.6.0_ioredis@5.6.1_magicast@0.3_eiavxvfntsids5hrxwa6ymgw74/node_modules/@nuxt/ui/dist/runtime/components/Button.vue\n\n\n WARN warning: unplugin-vue-better-define TransformError: Cannot resolve TS type: LinkProps 11:01:46 pm \n Plugin: unplugin-vue-better-define\n File: F:/node-local/nuxt-apps/nuxt-with-nuxt-ui/node_modules/.pnpm/@nuxt+ui@3.0.2_@babel+parser@7.27.0_db0@0.3.1_embla-carousel@8.6.0_ioredis@5.6.1_magicast@0.3_eiavxvfntsids5hrxwa6ymgw74/node_modules/@nuxt/ui/dist/runtime/components/Link.vue\n\n\n WARN Cannot resolve TS type: LinkProps 11:01:46 pm \n\n at /F:/node-local/nuxt-apps/nuxt-with-nuxt-ui/node_modules/.pnpm/@vue-macros+api@3.0.0-beta.8_vue@3.5.13_typescript@5.8.3_/node_modules/@vue-macros/api/dist/index.js:1308:13 \n\n\n```\n\n### Additional context\n\nif i remove the `@vue-macros/nuxt` plugin all warnings gone\n\n### Logs\n\n```shell-script\n\n```",[3239,3240,3241,3244,3247],{"name":3146,"color":3147},{"name":3213,"color":3214},{"name":3242,"color":3243},"triage","ffffff",{"name":3245,"color":3246},"closed-by-bot","ededed",{"name":3248,"color":3246},"stale",3909,"conflict with @vue-macros/nuxt 'Type warnings'","2025-08-20T02:09:00Z","https://github.com/nuxt/ui/issues/3909",0.619002,{"labels":3255,"number":3264,"owner":3152,"repository":3152,"state":3153,"title":3265,"updated_at":3266,"url":3267,"score":3268},[3256,3257,3260,3261],{"name":3143,"color":3144},{"name":3258,"color":3259},"dx","C39D69",{"name":3146,"color":3147},{"name":3262,"color":3263},"🍰 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":3270,"labels":3271,"number":3275,"owner":3152,"repository":3152,"state":3153,"title":3276,"updated_at":3277,"url":3278,"score":3279},"### 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```",[3272,3273],{"name":3165,"color":3166},{"name":3274,"color":3150},"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,["Reactive",3281],{},["Set"],["ShallowReactive",3284],{"$fTRc1wZytZ_XrK4EfJfei_Sz-An4H4Yy6syhVxH_PVJc":-1,"$fJGT2qy46GrpQsC-hnDoISBVRWX_7MQH4CqjnR6RzHCk":-1},"/nuxt/ui/2560"]