",[3023],{"name":3024,"color":3025},"pending triage","E99695",32714,"nuxt","open","fix(types): v4 auto-import in shared directory","2025-07-21T23:23:54Z","https://github.com/nuxt/nuxt/issues/32714",0.64782286,{"description":3034,"labels":3035,"number":3040,"owner":3027,"repository":3027,"state":3041,"title":3042,"updated_at":3043,"url":3044,"score":3045},"Hello.\r\n\r\nI have a nuxt with typescript app where it gives the following error when running:\r\n\r\nBy commenting those lines in the _build.d.ts_ file it works locally but it breaks on server so this is not a solution.\r\nThis is my _package.json_ file:\r\n\r\nI have tried:\r\n\r\n- to update all dependecines\r\n- to install and upgrade/downgrade the _@babel/preset-env_ dep\r\n- to remove node_modules and install again\r\n\r\nCan someone help me with a fix for this issue?\r\n",[3036,3037],{"name":3024,"color":3025},{"name":3038,"color":3039},"2.x","d4c5f9",8934,"closed","Error: @types/webpack-hot-middleware has no exported member 'Options'","2023-01-22T15:38:48Z","https://github.com/nuxt/nuxt/issues/8934",0.6506104,{"labels":3047,"number":3056,"owner":3027,"repository":3027,"state":3041,"title":3057,"updated_at":3058,"url":3059,"score":3060},[3048,3051,3054,3055],{"name":3049,"color":3050},"stale","ffffff",{"name":3052,"color":3053},"types","2875C3",{"name":3024,"color":3025},{"name":3038,"color":3039},6320,"Fail to work with typescript after upgrading to 2.9.1","2023-01-22T15:34:44Z","https://github.com/nuxt/nuxt/issues/6320",0.65185505,{"labels":3062,"number":3065,"owner":3027,"repository":3027,"state":3041,"title":3066,"updated_at":3067,"url":3068,"score":3069},[3063,3064],{"name":3024,"color":3025},{"name":3038,"color":3039},6894,"Typescript linting issue","2023-01-22T15:34:48Z","https://github.com/nuxt/nuxt/issues/6894",0.6527808,{"labels":3071,"number":3074,"owner":3027,"repository":3027,"state":3041,"title":3075,"updated_at":3076,"url":3077,"score":3078},[3072,3073],{"name":3024,"color":3025},{"name":3038,"color":3039},9720,"Typescript added types aren't available on the client side","2023-01-22T15:45:05Z","https://github.com/nuxt/nuxt/issues/9720",0.6564714,{"labels":3080,"number":3083,"owner":3027,"repository":3027,"state":3041,"title":3084,"updated_at":3043,"url":3085,"score":3086},[3081,3082],{"name":3024,"color":3025},{"name":3038,"color":3039},9030,"@nuxt/types should be a valid JS package (w/ an index.js) so that TS emitDecoratorMetadata works","https://github.com/nuxt/nuxt/issues/9030",0.65743953,{"description":3088,"labels":3089,"number":3094,"owner":3027,"repository":3027,"state":3041,"title":3095,"updated_at":3096,"url":3097,"score":3098},"### Environment\n\n------------------------------\n- Operating System: Linux\n- Node Version: v18.20.3\n- Nuxt Version: 3.14.1592\n- CLI Version: 3.16.0\n- Nitro Version: 2.10.4\n- Package Manager: npm@10.2.3\n- Builder: -\n- User Config: default\n- Runtime Modules: -\n- Build Modules: -\n------------------------------\n\n### Reproduction\n\nhttps://stackblitz.com/edit/github-qagkk8\n\n### Describe the bug\n\nHello, \n\nI'm running into an issue where typechecking is no longer working in `nuxt@3.14.1592`. \n\nTo reproduce the issue: \n\n1. In the minimal reproduction stackblitz, open the the terminal \n2. Execute `npm install` (to trigger `nuxt prepare`) \n3. Run the command `npm run check-types` (which is just a wrapper for `nuxt typecheck`) \n\n**Result**: The built-in Nuxt 3 typechecking functionality is broken. When the command from (3) is run, an error is thrown that the search string `\"/supportedTSExtensions = .*(?=;)/\"` is not found. \n\n**Desired behaviour**: I'd like to fix the issue so that typechecking works again. We use this in CI, and it's an important alarm bell for us. \n\n### Additional context\n\n\n\n\n\n### Logs\n\n```shell-script\n'Search string not found: \"/supportedTSExtensions = .*(?=;)/\"'\n\n ERROR Command failed with exit code 1: npx -p vue-tsc -p typescript vue-tsc --noEmit 11:35:21 AM\n\n at new ExecaError (/home/.npm/_npx/b95349761371180e/node_modules/nuxi/dist/chunks/index3.mjs:1188:1)\n at getFinalError (/home/.npm/_npx/b95349761371180e/node_modules/nuxi/dist/chunks/index3.mjs:1158:9)\n at makeError (/home/.npm/_npx/b95349761371180e/node_modules/nuxi/dist/chunks/index3.mjs:3638:16)\n at getAsyncResult (/home/.npm/_npx/b95349761371180e/node_modules/nuxi/dist/chunks/index3.mjs:7867:4)\n at handlePromise (/home/.npm/_npx/b95349761371180e/node_modules/nuxi/dist/chunks/index3.mjs:7850:17)\n at async Object.run (/home/.npm/_npx/b95349761371180e/node_modules/nuxi/dist/chunks/typecheck.mjs:112:9)\n at async runCommand$1 (/home/.npm/_npx/b95349761371180e/node_modules/nuxi/dist/shared/nuxi.f8a4d1b7.mjs:1679:16)\n at async runCommand$1 (/home/.npm/_npx/b95349761371180e/node_modules/nuxi/dist/shared/nuxi.f8a4d1b7.mjs:1670:11)\n at async runMain$1 (/home/.npm/_npx/b95349761371180e/node_modules/nuxi/dist/shared/nuxi.f8a4d1b7.mjs:1808:7)\n```",[3090,3091],{"name":3024,"color":3025},{"name":3092,"color":3093},"possible regression","B90A42",30154,"Built-in typechecking fails on `nuxt@3.14.1592`","2024-12-05T17:50:54Z","https://github.com/nuxt/nuxt/issues/30154",0.6606461,{"description":3100,"labels":3101,"number":3106,"owner":3027,"repository":3027,"state":3041,"title":3107,"updated_at":3108,"url":3109,"score":3110},"### Environment\n\n------------------------------\r\n- Operating System: Darwin\r\n- Node Version: v22.3.0\r\n- Nuxt Version: 3.13.0\r\n- CLI Version: 3.13.1\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, i18n, primevue, image, nuxt-jsonld, mapbox, compatibilityDate\r\n- Runtime Modules: @nuxt/eslint@0.4.0, @nuxtjs/tailwindcss@6.12.1, @nuxtjs/i18n@8.5.1, @primevue/nuxt-module@4.0.3, @nuxt/image@1.8.0, @nuxtjs/strapi@1.12.0, nuxt-icons@3.2.1, @pinia/nuxt@0.5.4, nuxt-jsonld@2.0.8, nuxt-mapbox@1.6.0\r\n- Build Modules: -\r\n------------------------------\n\n### Reproduction\n\nI can't reproduce it\n\n### Describe the bug\n\nTypescript throws me an error in common inline instances within the template, such as $route or $t (nuxtI18n).\r\nExample $route:\r\n\r\nExample $t:\r\n\r\n\r\nI also noticed that within the setup script, when I try, for example, to do an import of an interface that is in a .ts file, it does not recognise it, and tells me that all the files are in .js format.\r\n\r\n\r\nI cannot reproduce the problem, does anyone have an idea what the problem might be?\r\nThanks\n\n### Additional context\n\n_No response_\n\n### Logs\n\n_No response_",[3102,3103],{"name":3024,"color":3025},{"name":3104,"color":3105},"needs reproduction","FBCA04",28761,"Typescript not recognize .ts file and commons instance on template.","2024-08-30T14:25:32Z","https://github.com/nuxt/nuxt/issues/28761",0.6616066,{"labels":3112,"number":3115,"owner":3027,"repository":3027,"state":3041,"title":3116,"updated_at":3043,"url":3117,"score":3118},[3113,3114],{"name":3024,"color":3025},{"name":3038,"color":3039},8918,"Nuxt 2.15 TypeScript should not remove @nuxt/typescript-runtime","https://github.com/nuxt/nuxt/issues/8918",0.66161025,{"description":3120,"labels":3121,"number":3126,"owner":3027,"repository":3027,"state":3041,"title":3127,"updated_at":3128,"url":3129,"score":3130},"### Environment\n\n------------------------------\r\n- Operating System: `Linux`\r\n- Node Version: `v18.9.0`\r\n- Nuxt Version: `3.0.0-rc.9`\r\n- Nitro Version: `0.5.1`\r\n- Package Manager: `npm@8.19.1`\r\n- Builder: `vite`\r\n- User Config: `srcDir`, `typescript`, `head`, `loading`, `css`, `middleware`, `runtimeConfig`, `tailwindcss`, `modules`, `env`, `build`\r\n- Runtime Modules: `@nuxtjs/tailwindcss@5.3.3`, `~/modules/dashboardcore.ts`, `~/modules/auto-import-eslint.ts`\r\n- Build Modules: `-`\r\n------------------------------\r\n\n\n### Reproduction\n\nas this is IDE related, there is no classical reproduction script possible. But it happens also with a plain nuxt3 project.\r\nWhat I have in my setup:\r\n```\r\n#tsconfig.json \r\n{\r\n \"extends\": \"./.nuxt/tsconfig.json\",\r\n \"compilerOptions\": {\r\n \"resolveJsonModule\": true,\r\n \"noImplicitAny\": false,\r\n \"paths\": {\r\n \"~/*\": [\"src/*\"],\r\n \"@/*\": [\"src/*\"]\r\n },\r\n \"types\": [\"@nuxt/types\"]\r\n },\r\n \"exclude\": [\"node_modules\", \"cypress\"]\r\n}\r\n\r\n```\r\n\r\n.nuxt/tsconfig.josn even has paths in it with \"#imports\":\r\n\r\n\n\n### Describe the bug\n\nIDE doesn't resolve types anymore:\r\n\r\n\r\nthe funny thing is, if open the imports.d.ts, types are working in there. So it seems it's just not picking up the initial tsconfig settings. Maybe an IDE bug?\n\n### Additional context\n\ntested in WebStorm 2022.2.1\r\nBuild #WS-222.3739.57, built on August 16, 2022\r\nalso restarted the typescript engine and other stuff, \n\n### Logs\n\n_No response_",[3122,3125],{"name":3123,"color":3124},"3.x","29bc7f",{"name":3024,"color":3025},14880,"TS2307: Cannot find module '#imports' or its corresponding type declarations. with webstorm","2024-12-09T22:56:10Z","https://github.com/nuxt/nuxt/issues/14880",0.66308194,["Reactive",3132],{},["Set"],["ShallowReactive",3135],{"$fTRc1wZytZ_XrK4EfJfei_Sz-An4H4Yy6syhVxH_PVJc":-1,"$fBugEWfsRaLP070PF_msapA54OQW9w3HJSfLDNpOdIDE":-1},"/nuxt/nuxt/26857"]