\n// Render the original icon (skip the global customization function)\n\u003CIcon\n name=\"i-base-beautiful-icon\"\n skip-customize\n/>\n```",[],333,"icon","[feature request]: skipCustomize prop","2025-04-10T06:13:04Z","https://github.com/nuxt/icon/issues/333",0.6332489,{"description":2927,"labels":2928,"number":2920,"owner":2874,"repository":2929,"state":2889,"title":2930,"updated_at":2931,"url":2932,"score":2925},"Hello! :) \r\n\r\nSince the release candidate of Nuxt 3 came out last month, many dependencies to do with Nuxt and its modules/libraries are broken. \r\n\r\nI can't install @nuxt/test-utils on a fresh Nuxt 2 stable project due to it having a hard dependency for Vue 3.x when Nuxt 2 uses Vue 2. I can install version 0.2.2 but it is year+ old compared to your current version. Is this the last version that will support Nuxt 2, or is this now deprecated in favour of @vue/test-utils which is what Nuxt 2 currently ships its NuxtLogo.spec.js example with?\r\n\r\nTo reproduce you just need to create a nuxt 2 project and try to execute: \r\n```bash\r\nnpm --save-dev install @nuxt/vue-utils\r\n```\r\n\r\nThe output is: \r\n```bash\r\n❯ npm --save-dev install @nuxt/test-utils\r\nnpm ERR! code ERESOLVE\r\nnpm ERR! ERESOLVE could not resolve\r\nnpm ERR! \r\nnpm ERR! While resolving: *********@1.0.0\r\nnpm ERR! Found: vue@2.6.14\r\nnpm ERR! node_modules/vue\r\nnpm ERR! vue@\"^2.6.12\" from @nuxt/vue-app@2.15.8\r\nnpm ERR! node_modules/@nuxt/vue-app\r\nnpm ERR! @nuxt/vue-app@\"2.15.8\" from @nuxt/builder@2.15.8\r\nnpm ERR! node_modules/@nuxt/builder\r\nnpm ERR! @nuxt/builder@\"2.15.8\" from nuxt@2.15.8\r\nnpm ERR! node_modules/nuxt\r\nnpm ERR! nuxt@\"^2.15.7\" from the root project\r\nnpm ERR! @nuxt/vue-app@\"2.15.8\" from nuxt@2.15.8\r\nnpm ERR! node_modules/nuxt\r\nnpm ERR! nuxt@\"^2.15.7\" from the root project\r\nnpm ERR! vue@\"^2.6.12\" from @nuxt/vue-renderer@2.15.8\r\nnpm ERR! node_modules/@nuxt/vue-renderer\r\nnpm ERR! @nuxt/vue-renderer@\"2.15.8\" from @nuxt/server@2.15.8\r\nnpm ERR! node_modules/@nuxt/server\r\nnpm ERR! @nuxt/server@\"2.15.8\" from @nuxt/core@2.15.8\r\nnpm ERR! node_modules/@nuxt/core\r\nnpm ERR! @nuxt/core@\"2.15.8\" from nuxt@2.15.8\r\nnpm ERR! node_modules/nuxt\r\nnpm ERR! 1 more (nuxt)\r\nnpm ERR! @nuxt/vue-renderer@\"2.15.8\" from nuxt@2.15.8\r\nnpm ERR! node_modules/nuxt\r\nnpm ERR! nuxt@\"^2.15.7\" from the root project\r\nnpm ERR! 4 more (@vue/test-utils, vue-jest, vue-tailwind, vuex)\r\nnpm ERR! \r\nnpm ERR! Could not resolve dependency:\r\nnpm ERR! dev @nuxt/test-utils@\"*\" from the root project\r\nnpm ERR! \r\nnpm ERR! Conflicting peer dependency: vue@3.2.33\r\nnpm ERR! node_modules/vue\r\nnpm ERR! peer vue@\"3.2.33\" from @nuxt/test-utils@3.0.0-rc.3\r\nnpm ERR! node_modules/@nuxt/test-utils\r\nnpm ERR! dev @nuxt/test-utils@\"*\" from the root project\r\nnpm ERR! \r\nnpm ERR! Fix the upstream dependency conflict, or retry\r\nnpm ERR! this command with --force, or --legacy-peer-deps\r\nnpm ERR! to accept an incorrect (and potentially broken) dependency resolution.\r\n```\r\n\r\nAny advice or help would be greatly appreciated as currently this is blocking my team from starting our project with full Nuxt SSR testing support. ",[],"test-utils","Cannot install latest version in standard Nuxt 2 project","2023-12-02T00:33:11Z","https://github.com/nuxt/test-utils/issues/333",{"description":2934,"labels":2935,"number":2940,"owner":2874,"repository":2874,"state":2889,"title":2941,"updated_at":2942,"url":2943,"score":2944},"### Environment\r\n\r\n- Operating System: `Darwin`\r\n- Node Version: `v20.14.0`\r\n- Nuxt Version: `3.12.2-28638261.fbb66c43`\r\n- CLI Version: `3.11.2-1718100309.03d4a54\r\n- Nitro Version: `2.10.0-28638117.48423122`` **(wrongly reported!)***\r\n- Package Manager: `npm@10.7.0`\r\n- Builder: `-`\r\n- User Config: `hooks`\r\n- Runtime Modules: `-`\r\n- Build Modules: `-`\r\n\r\n\r\n### Reproduction\r\n\r\n`package.json` with\r\n\r\n```json\r\n{\r\n \"name\": \"nuxt-app\",\r\n \"private\": true,\r\n \"type\": \"module\",\r\n \"devDependencies\": {\r\n \"nuxt\": \"npm:nuxt-nightly\"\r\n },\r\n \"packageManager\": \"npm@10.7.0\"\r\n}\r\n```\r\n\r\n### Describe the bug\r\n\r\nUsing `npm install`, npm installs non-nightly versions of `nuxt` and `nitropack` under `node_modules/nuxt/node_modules/{nuxt,nitro}`. This is because of implicit peer dependency installation of npm and `@nuxt/devtools-kit` that has [peer dependency on `nuxt`](https://github.com/nuxt/devtools/blob/51bf06f2a8f75df2ab04708673a12650526852ed/packages/devtools-kit/package.json#L43) + `nuxt` on devtools.\r\n\r\nSome possible solutions:\r\n- Use nightly mapped version of `@nuxt/devtools` when releasing `nuxt-nightly` (devtools nightly also needs to map it's peer dependency requirement to `npm:nuxt-nightly`)\r\n- Relax or remove `peerDependency` of devtools to `nuxt`\r\n\r\n/cc @antfu \r\n\r\n### Workaround (for npm only)\r\n\r\n```json\r\n \"overrides\": {\r\n \"nuxt\": \"npm:nuxt-nightly\"\r\n },\r\n```\r\n\r\nWe could also alternatively add more docs about npm exception but seems a workaround and in nitro docs we are not recommending this.\r\n\r\n### Additional context\r\n\r\nOriginally reported by @serhalp in discord\r\n\r\n### Logs\r\n\r\n```shell-script\r\n`npm why nuxt`\r\n\r\n\r\n nitropack@\"npm:nitropack-nightly@latest\" from nuxt@3.12.2-28638261.fbb66c43\r\n node_modules/nuxt\r\n dev nuxt@\"npm:nuxt-nightly\" from the root project\r\n nitropack@\"^2.9.6\" from nuxt@3.12.1\r\n node_modules/nuxt/node_modules/nuxt\r\n peer nuxt@\"^3.9.0\" from @nuxt/devtools@1.3.3\r\n node_modules/nuxt/node_modules/@nuxt/devtools\r\n @nuxt/devtools@\"^1.3.3\" from nuxt@3.12.2-28638261.fbb66c43\r\n node_modules/nuxt\r\n dev nuxt@\"npm:nuxt-nightly\" from the root project\r\n @nuxt/devtools@\"^1.3.3\" from nuxt@3.12.1\r\n peer nuxt@\"^3.9.0\" from @nuxt/devtools-kit@1.3.3\r\n node_modules/nuxt/node_modules/@nuxt/devtools-kit\r\n @nuxt/devtools-kit@\"1.3.3\" from @nuxt/devtools@1.3.3\r\n node_modules/nuxt/node_modules/@nuxt/devtools\r\n @nuxt/devtools@\"^1.3.3\" from nuxt@3.12.2-28638261.fbb66c43\r\n node_modules/nuxt\r\n dev nuxt@\"npm:nuxt-nightly\" from the root project\r\n @nuxt/devtools@\"^1.3.3\" from nuxt@3.12.1\r\n```\r\n\r\n",[2936,2939],{"name":2937,"color":2938},"workaround available","11376d",{"name":2868,"color":2869},27597,"`nuxt-nightly` installs `nuxt` and `nitro` with `npm i`","2024-11-19T16:23:51Z","https://github.com/nuxt/nuxt/issues/27597",0.6346353,{"description":2946,"labels":2947,"number":2950,"owner":2874,"repository":2874,"state":2889,"title":2951,"updated_at":2952,"url":2953,"score":2954},"### Environment\n\n- Operating System: Windows_NT\r\n- Node Version: v18.16.1\r\n- Nuxt Version: 3.6.5\r\n- Nitro Version: 2.5.2\r\n- Package Manager: npm@9.8.1\r\n- Builder: vite\r\n- User Config: -\r\n- Runtime Modules: -\r\n- Build Modules: -\n\n### Reproduction\n\nthe reproduction is [here](https://stackblitz.com/edit/github-h5v6xs?file=src%2Fmodule.ts)\r\nplease run `npm dev:prepare` then `npm run prepack`\n\n### Describe the bug\n\nI have followed the instruction to expose module options using defu package as it is advised [here](https://nuxt.com/docs/guide/going-further/modules#exposing-options-to-runtime).\r\nThe module works as intended in development, but in build (after running npm run prepack): I get the following warning :\r\n inline implicit external defu .\r\n\r\n\n\n### Additional context\n\nwhen I ran` npx nuxi init -t module my-module` then npm install I got a peerdependency conflic\r\n\r\n```\r\nnpm ERR! While resolving: @nuxt/test-utils@3.6.5\r\nnpm ERR! Found: vitest@0.34.2\r\nnpm ERR! node_modules/vitest\r\nnpm ERR! dev vitest@\"^0.34.1\" from the root project\r\nnpm ERR! \r\nnpm ERR! Could not resolve dependency:\r\nnpm ERR! peerOptional vitest@\"^0.30.0 || ^0.31.0 || ^0.32.0 || ^0.33.0\" from @nuxt/test-utils@3.6.5\r\nnpm ERR! node_modules/@nuxt/test-utils\r\nnpm ERR! dev @nuxt/test-utils@\"^3.6.5\" from the root project\r\nnpm ERR! \r\nnpm ERR! Conflicting peer dependency: vitest@0.33.0\r\nnpm ERR! node_modules/vitest\r\nnpm ERR! peerOptional vitest@\"^0.30.0 || ^0.31.0 || ^0.32.0 || ^0.33.0\" from @nuxt/test-utils@3.6.5\r\nnpm ERR! node_modules/@nuxt/test-utils\r\nnpm ERR! dev @nuxt/test-utils@\"^3.6.5\" from the root project\r\nnpm ERR! \r\nnpm ERR! Fix the upstream dependency conflict, or retry\r\nnpm ERR! this command with --force, or --legacy-peer-deps\r\nnpm ERR! to accept an incorrect (and potentially broken) dependency resolution.\r\nnpm ERR! \r\nnpm ERR! See /home/runner/.npm/eresolve-report.txt for a full report.\r\n```\r\n\r\n so I used npm install --force\n\n### Logs\n\n_No response_",[2948,2949],{"name":2901,"color":2902},{"name":2884,"color":2885},22749,"I'm getting a warning when I try to build a module","2024-11-18T09:29:56Z","https://github.com/nuxt/nuxt/issues/22749",0.6347423,{"description":2956,"labels":2957,"number":2961,"owner":2874,"repository":2929,"state":2889,"title":2962,"updated_at":2963,"url":2964,"score":2965},"### Environment\n\nWorking directory: /home/projects/jvmibwmjx.github\r\nNuxt project info:\r\n\r\n------------------------------\r\n- Operating System: Linux\r\n- Node Version: v18.20.3\r\n- Nuxt Version: 3.12.2\r\n- CLI Version: 3.12.0\r\n- Nitro Version: 2.9.6\r\n- Package Manager: yarn@1.22.19\r\n- Builder: -\r\n- User Config: devtools\r\n- Runtime Modules: -\r\n- Build Modules: -\r\n------------------------------\n\n### Reproduction\n\nhttps://stackblitz.com/edit/github-mmtufx?file=app.vue\n\n### Describe the bug\n\nLet's say there is a root component which I want to mount using `@nuxt/test-utils`'s `mountSuspended()` API. If this component\r\n\r\n- uses `\u003Cscript setup>`\r\n- imports composable API from Nuxt `#import` (i.e. `useRouter`, `useRoute`, ...)\r\n\r\nit makes an error below and breaks entire test.\r\n\r\n```bash\r\nstdout | createSuspenseBoundary (/home/projects/jvmibwmjx.github/node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:1451:43)\r\n\u003CSuspense> is an experimental feature and its API will likely change.\r\n\r\nstderr | warn$1 (/home/projects/jvmibwmjx.github/node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:50:13)\r\n[Vue warn]: Cannot mutate \u003Cscript setup> binding \"useRouter\" from Options API. \r\n at \u003CMountSuspendedComponent > \r\n at \u003CMountSuspendedHelper> \r\n at \u003CAnonymous ref=\"VTU_COMPONENT\" > \r\n at \u003CVTUROOT>\r\n[Vue warn]: Unhandled error during execution of render function \r\n at \u003CMountSuspendedComponent > \r\n at \u003CMountSuspendedHelper> \r\n at \u003CAnonymous ref=\"VTU_COMPONENT\" > \r\n at \u003CVTUROOT>\r\n```\r\n\r\nOnly if the root component meets the condition above, the issue occurs. As you see in the reproduction, if you use `#imports` and `\u003Cscript setup>` in child elements it work fine.\r\n\r\nThe app itself is built and works fine if I run it.\r\n\r\nYou can reproduce the issue with the repository link above.\n\n### Additional context\n\n_No response_\n\n### Logs\n\n_No response_",[2958,2959],{"name":2868,"color":2869},{"name":2884,"color":2960},"5D08F5",871,"Using `mountSuspended()` with a component using `\u003Cscript setup>` and `#import` makes an error","2025-01-30T17:30:54Z","https://github.com/nuxt/test-utils/issues/871",0.63849974,{"labels":2967,"number":2972,"owner":2874,"repository":2874,"state":2889,"title":2973,"updated_at":2974,"url":2975,"score":2976},[2968,2969],{"name":2884,"color":2885},{"name":2970,"color":2971},"2.x","d4c5f9",9567,"Using vueuse but npm requires me to npm install --save @vue/composition-api/dist/vue-composition-api.esm.js","2023-01-22T15:44:59Z","https://github.com/nuxt/nuxt/issues/9567",0.6395632,["Reactive",2978],{},["Set"],["ShallowReactive",2981],{"$fTRc1wZytZ_XrK4EfJfei_Sz-An4H4Yy6syhVxH_PVJc":-1,"$fxgiBvu44GZm7Ah4aRi5oyh4285yal1UcRehn_5cNKfc":-1},"/nuxt/nuxt.com/1488"]