",[3020],{"name":3021,"color":3022},"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.6554206,{"description":3031,"labels":3032,"number":3040,"owner":3024,"repository":3024,"state":3041,"title":3042,"updated_at":3043,"url":3044,"score":3045},"### Environment\r\n\r\n- Operating System: Darwin\r\n- Node Version: v20.11.0\r\n- Nuxt Version: 3.10.2\r\n- CLI Version: 3.10.1\r\n- Nitro Version: 2.8.1\r\n- Package Manager: npm@10.2.4\r\n- Builder: -\r\n- User Config: `devServer`, `nitro`, `routeRules`, `components`, `build`, `modules`, `primevue`, `experimental`, `typescript`, `devtools`\r\n- Runtime Modules: `@vueuse/nuxt@10.8.0`, `nuxt-svgo@4.0.0`, `nuxt-primevue@0.3.0`, `@nuxt/image@1.3.0`, `@pinia/nuxt@0.5.1`\r\n- Build Modules: -\r\n\r\n### Reproduction\r\n\r\n✅ `3.9.3`: https://stackblitz.com/edit/nuxt-3-9-3-typecheck \r\n❌ `3.10.3`: https://stackblitz.com/edit/nuxt-3-10-typecheck \r\n\r\n### Describe the bug\r\n\r\nAfter upgrading Nuxt from `v3.9.3` to `v3.10.2` some typings are not detected anymore. It looks like it's related to third-party packages with `exports` config in the `package.json`. I discovered that `moduleResolution` has been changed in the automatically generated `tsconfig.json` file.\r\n\r\n### Additional context\r\n\r\nSetting `moduleResolution` as `Node` should fix the problem. In the Nuxt `3.10` it was changed to `Bundler`, which looks like a breaking change in some cases.\r\n\r\nIn our case, we have a multifile/multitype package that stopped working during type-checking (the build is okay). I tried to set `moduleResolution` to `Node` back in Nuxt 3.10 and it seems like the type-checking issue has been fixed.\r\n\r\n```json5\r\n{\r\n // https://nuxt.com/docs/guide/concepts/typescript\r\n \"extends\": \"./.nuxt/tsconfig.json\",\r\n\r\n \"compilerOptions\": {\r\n \"moduleResolution\": \"Node\"\r\n }\r\n}\r\n```\r\n\r\n#25230 can be related, but I'm unsure because the Nuxt version there is `3.9`.\r\n\r\n### Logs\r\n\r\n_No response_",[3033,3036,3039],{"name":3034,"color":3035},"types","2875C3",{"name":3037,"color":3038},"3.x","29bc7f",{"name":3021,"color":3022},25929,"closed","Typechecking issue after Nuxt upgrading 3.9 -> 3.10","2024-03-08T11:49:58Z","https://github.com/nuxt/nuxt/issues/25929",0.6187806,{"description":3047,"labels":3048,"number":3055,"owner":3024,"repository":3024,"state":3041,"title":3056,"updated_at":3057,"url":3058,"score":3059},"### Environment\r\n\r\n------------------------------\r\n- Operating System: `Windows 10 Home 10.0.19044 Build 19044`\r\n- Node Version: `v18.15.0`\r\n- Nuxt Version: `3.3.2`\r\n- Nitro Version: `2.3.2`\r\n- Package Manager: `pnpm@7.30.3`\r\n- Builder: `vite`\r\n- User Config: `-`\r\n- Runtime Modules: `-`\r\n- Build Modules: `-`\r\n------------------------------\r\n\r\n### Reproduction\r\n\r\nNone\r\n\r\n### Describe the bug\r\n\r\nA fresh Nuxt app, nothing would complete on the config, only `modules` and `telemetry`.\r\n\r\nI thought this was a Nuxt related issue, so before I opened an issue, I tried to diagnose myself and filter out all I could:\r\n\r\nChanging nuxt version from 3.3.2 to 3.3.1, deleting .nuxt, deleting node_modules, reloading VSCode, restarting TS language server, changing Node version, etc.\r\n\r\nUntil I had an idea and checked VSCode installed TS version, and yup, that was it.\r\nMy latest VSCode version is using TS v4.8.4. \r\n\r\nSo I had to create the `.vscode/settings.json` (I rarely have to do this), and set a TS version for the workspace, forcing it to use v5.0.2, and just like that the config props appeared again.\r\n\r\nUntil now, all the Nuxt 3 apps I've made have been working beautifully (only 2 times where there were reported bugs and were fixed later).\r\n\r\nAny kind information will be appreciated.\r\n\r\n### Additional context\r\n\r\n_No response_\r\n\r\n### Logs\r\n\r\n_No response_",[3049,3050,3051,3054],{"name":3034,"color":3035},{"name":3037,"color":3038},{"name":3052,"color":3053},"workaround available","11376d",{"name":3021,"color":3022},19921,"Nuxt config types failing on VSCode installed typescript version","2023-04-29T05:40:05Z","https://github.com/nuxt/nuxt/issues/19921",0.6254591,{"labels":3061,"number":3069,"owner":3024,"repository":3024,"state":3041,"title":3070,"updated_at":3071,"url":3072,"score":3073},[3062,3065,3066],{"name":3063,"color":3064},"stale","ffffff",{"name":3021,"color":3022},{"name":3067,"color":3068},"2.x","d4c5f9",9250,"Project building stops on 90% because of TypeScript and ESLint settings in \"nuxt.config.ts\"","2023-01-22T15:44:51Z","https://github.com/nuxt/nuxt/issues/9250",0.6405024,{"labels":3075,"number":3078,"owner":3024,"repository":3024,"state":3041,"title":3079,"updated_at":3080,"url":3081,"score":3082},[3076,3077],{"name":3021,"color":3022},{"name":3067,"color":3068},6894,"Typescript linting issue","2023-01-22T15:34:48Z","https://github.com/nuxt/nuxt/issues/6894",0.64148974,{"description":3084,"labels":3085,"number":3088,"owner":3024,"repository":3024,"state":3041,"title":3089,"updated_at":3090,"url":3091,"score":3092},"my nuxtjs v2.14.12\r\n\r\ni upgrade my nodejs versin to v15.1 today after that make npm update for nuxtjs for some dependces \r\nbut i have other nuxtjs app on same server working fine, i don't know why everytime typescript not stable with nuxtjs \r\nso when i run \"npm run generate\" i got this error althouth i install typescript already and was wroking fine before\r\n\r\n\r\n\r\n FATAL When you use this plugin you must install typescript. 16:39:05\r\n\r\n at ForkTsCheckerWebpackPlugin.validateTypeScript (node_modules/fork-ts-checker-webpack-plugin/lib/index.js:116:19)\r\n at new ForkTsCheckerWebpackPlugin (node_modules/fork-ts-checker-webpack-plugin/lib/index.js:72:99)\r\n at WebpackBundler.\u003Canonymous> (node_modules/@nuxt/typescript-build/dist/index.js:41:33)\r\n at next (node_modules/@nuxt/utils/dist/utils.js:1879:27)\r\n at WebpackBundler.\u003Canonymous> (node_modules/@nuxt/utils/dist/utils.js:1894:12)\r\n at WebpackBundler.\u003Canonymous> (node_modules/@nuxt/utils/dist/utils.js:1888:29)\r\n at WebpackBundler.\u003Canonymous> (node_modules/@nuxt/utils/dist/utils.js:1888:29)\r\n at WebpackClientConfig.extendConfig (node_modules/@nuxt/webpack/dist/webpack.js:4879:37)\r\n at WebpackClientConfig.config (node_modules/@nuxt/webpack/dist/webpack.js:4914:45)\r\n at WebpackClientConfig.config (node_modules/@nuxt/webpack/dist/webpack.js:5078:26)\r\n at WebpackBundler.getWebpackConfig (node_modules/@nuxt/webpack/dist/webpack.js:5386:19)\r\n at WebpackBundler.build (node_modules/@nuxt/webpack/dist/webpack.js:5393:12)\r\n at Builder.build (node_modules/@nuxt/builder/dist/builder.js:5634:30)\r\n at async Generator.initiate (node_modules/@nuxt/generator/dist/generator.js:171:7)\r\n at async Generator.generate (node_modules/@nuxt/generator/dist/generator.js:133:5)\r\n at async Object.run (/usr/local/share/.config/yarn/global/node_modules/@nuxt/cli/dist/cli-generate.js:107:24)\r\n\r\n\r\n ╭────────────────────────────────────────────────────────────────────╮\r\n │ │\r\n │ ✖ Nuxt Fatal Error │\r\n │ │\r\n │ Error: When you use this plugin you must install `typescript`. │\r\n │ │\r\n ╰─────────────────────────────────────────────────────────\r\n\r\nmy packagejson\r\n\r\n{\r\n \"name\": \"Admin-Portal\",\r\n \"version\": \"2.0.0\",\r\n \"private\": true,\r\n \"description\": \"Yalla Dealz Admin Portal\",\r\n \"author\": \"Yalla Dealz Inc\",\r\n \"scripts\": {\r\n \"build\": \"nuxt-s build\",\r\n \"test:unit\": \"vue-cli-service test:unit\",\r\n \"lint\": \"eslint --ext .js,.vue --ignore-path .gitignore .\",\r\n \"dev\": \"nuxt-s\",\r\n \"generate\": \"nuxt-s generate\",\r\n \"lintfix\": \"eslint --fix --ext .js,.vue --ignore-path .gitignore .\",\r\n \"sass\": \"sass --watch assets/scss/custom.scss:assets/css/bootstrap.css assets/scss/main-style.scss:assets/css/main-style.css\",\r\n \"start\": \"nuxt-s start\",\r\n \"test\": \"jest\",\r\n \"release\": \"release-it\"\r\n },\r\n \"dependencies\": {\r\n \"@babel/preset-env\": \"^7.12.7\",\r\n \"@johmun/vue-tags-input\": \"^2.1.0\",\r\n \"@nuxt/typescript-runtime\": \"^2.0.0\",\r\n \"@nuxtjs/axios\": \"^5.12.3\",\r\n \"@vue/test-utils\": \"^1.1.1\",\r\n \"babel-jest\": \"^26.6.3\",\r\n \"body-parser\": \"^1.19.0\",\r\n \"bootstrap-vue\": \"^2.20.1\",\r\n \"chartist\": \"^0.11.4\",\r\n \"fibers\": \"^5.0.0\",\r\n \"form-data\": \"^3.0.0\",\r\n \"js-cookie\": \"^2.2.1\",\r\n \"node-sass\": \"^5.0.0\",\r\n \"nuxt\": \"^2.14.10\",\r\n \"nuxt-ctk-date-time-picker\": \"^2.1.1\",\r\n \"nuxt-property-decorator\": \"^2.8.8\",\r\n \"sass-loader\": \"^10.1.0\",\r\n \"vue\": \"^2.6.12\",\r\n \"vue-analytics\": \"^5.22.1\",\r\n \"vue-class-component\": \"^7.2.6\",\r\n \"vue-cookie\": \"^1.1.4\",\r\n \"vue-css-donut-chart\": \"^1.3.0\",\r\n \"vue-jest\": \"^3.0.7\",\r\n \"vue-property-decorator\": \"^9.1.2\",\r\n \"vue-qrcode\": \"^0.3.5\",\r\n \"vue-server-renderer\": \"^2.6.12\",\r\n \"vue2-editor\": \"^2.10.2\",\r\n \"vue2-google-maps\": \"^0.10.7\",\r\n \"vuelidate\": \"^0.7.6\",\r\n \"vuetify-datetime-picker\": \"^2.1.1\",\r\n \"vuetify-google-autocomplete\": \"^2.0.4\",\r\n \"vuex-module-decorators\": \"^1.0.0\"\r\n },\r\n \"release-it\": {\r\n \"git\": {\r\n \"changelog\": \"git log --pretty=format:\\\"* %s (%h)\\\" ${from}...${to}\",\r\n \"requireCleanWorkingDir\": false,\r\n \"requireBranch\": false,\r\n \"requireUpstream\": true,\r\n \"requireCommits\": false,\r\n \"addUntrackedFiles\": false,\r\n \"commit\": true,\r\n \"commitMessage\": \"Release ${version}\",\r\n \"commitArgs\": [],\r\n \"tag\": true,\r\n \"tagName\": null,\r\n \"tagAnnotation\": \"Release ${version}\",\r\n \"tagArgs\": [],\r\n \"push\": true,\r\n \"pushArgs\": [\r\n \"--follow-tags\"\r\n ],\r\n \"pushRepo\": \"\"\r\n }\r\n },\r\n \"devDependencies\": {\r\n \"@nuxt/types\": \"^2.14.10\",\r\n \"@nuxt/typescript\": \"^2.8.1\",\r\n \"@nuxt/typescript-build\": \"^2.0.3\",\r\n \"@nuxtjs/eslint-config\": \"^5.0.0\",\r\n \"@nuxtjs/vuetify\": \"^1.0.0\",\r\n \"@types/vuelidate\": \"^0.7.13\",\r\n \"@types/webpack-env\": \"^1.16.0\",\r\n \"babel-core\": \"^6.26.3\",\r\n \"babel-eslint\": \"^10.1.0\",\r\n \"eslint\": \"^7.15.0\",\r\n \"jest\": \"^26.6.3\",\r\n \"release-it\": \"^14.0.0\",\r\n \"typescript\": \"^4.0.0\",\r\n \"vue-browser-geolocation\": \"^1.8.0\",\r\n \"vue-template-compiler\": \"^2.6.12\"\r\n }\r\n}\r\n",[3086,3087],{"name":3021,"color":3022},{"name":3067,"color":3068},8601,"after upgrade Nodejs to v15 i got this error message when generate app","2023-01-22T15:38:40Z","https://github.com/nuxt/nuxt/issues/8601",0.6491659,{"labels":3094,"number":3099,"owner":3024,"repository":3024,"state":3041,"title":3100,"updated_at":3101,"url":3102,"score":3103},[3095,3096,3097,3098],{"name":3063,"color":3064},{"name":3034,"color":3035},{"name":3021,"color":3022},{"name":3067,"color":3068},7679,"Nuxt build error - Issue with NuxtLoading","2023-01-22T15:36:04Z","https://github.com/nuxt/nuxt/issues/7679",0.64949644,{"description":3105,"labels":3106,"number":3109,"owner":3024,"repository":3024,"state":3041,"title":3110,"updated_at":3111,"url":3112,"score":3113},"### Environment\n\n- Operating System: `Linux`\r\n- Node Version: `v16.14.2`\r\n- Nuxt Version: `3.2.2`\r\n- Nitro Version: `2.2.3`\r\n- Package Manager: `npm@7.17.0`\r\n- Builder: `vite`\r\n- User Config: `typescript`\r\n- Runtime Modules: `-`\r\n- Build Modules: `-`\n\n### Reproduction\n\nhttps://stackblitz.com/edit/github-mfcerh?file=package.json,nuxt.config.ts\n\n### Describe the bug\n\nRunning `npm run dev` with `typeCheck: true` shows error text with no additional context despite.\r\n\r\n\u003Cimg width=\"380\" alt=\"Screenshot 2023-02-21 at 4 00 31 PM\" src=\"https://user-images.githubusercontent.com/4167341/220457377-aba8fddb-e78c-48b7-996d-13f46ead755d.png\">\r\n\n\n### Additional context\n\nIt doesn't seem to actually break anything and settings `typeCheck: false` does resolve the issue. This seems to have popped up in the last release or so.\n\n### Logs\n\n```shell-script\nNuxi 3.2.2 15:52:08\r\nNuxt 3.2.2 with Nitro 2.2.3 15:52:08\r\n 15:52:09\r\n > Local: http://localhost:3000/ \r\n > Network: http://192.168.1.104:3000/\r\n\r\nℹ Vite client warmed up in 776ms 15:52:11\r\n✔ Nitro built in 325 ms nitro 15:52:12\r\n\r\n ERROR 15:52:14\r\n[vue-tsc] Found 0 errors. Watching for file changes.\n```\n",[3107,3108],{"name":3037,"color":3038},{"name":3021,"color":3022},19202,"Error in console when typeCheck enabled","2023-02-21T21:44:06Z","https://github.com/nuxt/nuxt/issues/19202",0.6495652,{"description":3115,"labels":3116,"number":3124,"owner":3024,"repository":3024,"state":3041,"title":3125,"updated_at":3126,"url":3127,"score":3128},"### Environment\n\n- Operating System: Windows_NT\r\n- Node Version: v22.4.1\r\n- Nuxt Version: 3.13.2\r\n- CLI Version: 3.13.2\r\n- Nitro Version: 2.9.7\r\n- Package Manager: yarn@1.22.22\r\n- Builder: -\r\n- User Config: runtimeConfig, app, css, devtools, modules, glorious, plugins, pwa\r\n- Runtime Modules: nuxt-glorious@1.1.4, @nuxtjs/tailwindcss@6.12.1, @nuxt/eslint@0.3.13, @nuxt/image@1.8.0, @vite-pwa/nuxt@0.8.1, nuxt-aos@1.2.5, @formkit/auto-animate/nuxt@0.8.2, nuxt-swiper@1.2.2\r\n- Build Modules: -\n\n### Reproduction\n\nno repo\n\n### Describe the bug\n\nhi , i upgrade nuxt app , then upgrade all function and plugin has error in vs code i use npx nuxi prepare and restart typescript server in vs code but error not fixed , i attached the error how fix this\r\n\r\n\n\n### Additional context\n\n_No response_\n\n### Logs\n\n_No response_",[3117,3118,3121],{"name":3021,"color":3022},{"name":3119,"color":3120},"needs reproduction","FBCA04",{"name":3122,"color":3123},"possible regression","B90A42",29152,"type does not exist in vs code","2024-10-08T08:59:04Z","https://github.com/nuxt/nuxt/issues/29152",0.65136015,{"labels":3130,"number":3132,"owner":3024,"repository":3024,"state":3041,"title":3133,"updated_at":3134,"url":3135,"score":3136},[3131],{"name":3021,"color":3022},28608,"type checking error for globally imported vitest globals","2024-08-20T10:23:47Z","https://github.com/nuxt/nuxt/issues/28608",0.6547712,["Reactive",3138],{},["Set"],["ShallowReactive",3141],{"$fTRc1wZytZ_XrK4EfJfei_Sz-An4H4Yy6syhVxH_PVJc":-1,"$f8dmeH2dgw4yt1TpIm_ro7yha9L8IPth4Yb2_I-JKrEg":-1},"/nuxt/nuxt/8452"]