\r\n \u003C!-- Edit this file to play around with Nuxt but never commit changes! -->\r\n \u003Cdiv>\r\n Nuxt 3 Playground\r\n \u003C/div>\r\n\u003C/template>\r\n\r\n\u003Cstyle scoped>\r\n\r\n\u003C/style>\r\n```\r\n\r\nYou will see the warning once Nuxt starts:\r\n```shell\r\n[nuxt] Could not resolve id virtual:xxx D:\\work\\projects\\userquin\\GitHub\\userquin\\nuxt-org\\nuxt\\playground\\index.html\r\n```\n\n### Describe the bug\n\nResolved Vite virtual modules should be also excluded, `\\0virtual:` should also be excluded: https://vitejs.dev/guide/api-plugin.html#virtual-modules-convention.\r\n\r\nThere are a few modules only checking for `virtual:` prefix, we should also review the usage:\r\n\r\n\r\n\r\n\r\nI'm preparing a PR.\n\n### Additional context\n\n_No response_\n\n### Logs\n\n_No response_",[3094,3095,3096],{"name":3060,"color":3061},{"name":3021,"color":3022},{"name":3024,"color":3025},22833,"exclude also default resolved Vite virtual modules","2023-08-26T14:45:18Z","https://github.com/nuxt/nuxt/issues/22833",0.6605638,{"labels":3103,"number":3106,"owner":3027,"repository":3027,"state":3038,"title":3107,"updated_at":3108,"url":3109,"score":3110},[3104,3105],{"name":3060,"color":3061},{"name":3047,"color":3048},13580,"first install nuxt but vite new dependencies found: ufo, vue ... ","2023-01-19T16:59:49Z","https://github.com/nuxt/nuxt/issues/13580",0.6680907,{"description":3112,"labels":3113,"number":3120,"owner":3027,"repository":3027,"state":3038,"title":3121,"updated_at":3122,"url":3123,"score":3124},"### Environment\r\n\r\n- Operating System: Darwin\r\n- Node Version: v21.7.2\r\n- Nuxt Version: 3.11.2\r\n- CLI Version: 3.11.1\r\n- Nitro Version: 2.9.6\r\n- Package Manager: pnpm@8.15.3\r\n- Builder: -\r\n- User Config: devtools, extends\r\n- Runtime Modules: -\r\n- Build Modules: -\r\n\r\n\r\n### Reproduction\r\n\r\nI am trying to extend a project of mine and run into dependency issues.\r\n\r\nI have made a reproduction one can test it using the two branches `main` and `icons` of the `oripka/nuxt-bug-extends-1` repo.\r\n\r\n`nuxt.config.js`\r\n\r\n```\r\nexport default defineNuxtConfig({\r\n devtools: { enabled: true },\r\n extends: [\r\n ['github:oripka/nuxt-bug-extends-1#main', { install: true}]\r\n ]\r\n})\r\n```\r\n\r\nThe error is:\r\n\r\n```\r\npnpm install\r\nLockfile is up to date, resolution step is skipped\r\nAlready up to date\r\n\r\n> nuxt-app@ postinstall /Users/otr/code/reproduce/oripka\r\n> nuxt prepare\r\n\r\nLockfile is up to date, resolution step is skipped\r\nPackages: +1312\r\n++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++\r\nProgress: resolved 1312, reused 1311, downloaded 0, added 1312, done\r\n\r\ndependencies:\r\n+ @aws-sdk/client-ses 3.540.0\r\n+ @fontsource/inter 5.0.17\r\n+ @heroicons/vue 2.1.3\r\n+ @iconify-json/flag 1.1.49\r\n+ @iconify-json/ph 1.1.11\r\n+ @iconify-json/simple-icons 1.1.97\r\n+ @morev/vue-transitions 2.3.6\r\n+ @nuxt/content 2.12.1\r\n+ @nuxt/ui-pro 1.1.0\r\n+ @nuxthq/studio 0.14.1\r\n+ @nuxtjs/fontaine 0.4.1\r\n+ @nuxtjs/google-fonts 3.2.0\r\n+ @nuxtjs/plausible 0.2.4\r\n+ @nuxtjs/supabase 1.2.0\r\n+ @paddle/paddle-js 0.5.5\r\n+ @paddle/paddle-node-sdk 0.3.0\r\n+ @vercel/kv 1.0.1\r\n+ @vueuse/core 10.9.0\r\n+ @vueuse/nuxt 10.9.0\r\n+ mermaid 10.9.0\r\n+ nuxt-icon 0.5.0\r\n+ openai 4.32.1\r\n+ stripe 14.23.0\r\n+ unique-names-generator 4.7.1\r\n+ v-calendar 3.1.2\r\n+ vue3-marquee 4.2.0\r\n\r\ndevDependencies: skipped because NODE_ENV is set to production\r\n\r\nDone in 4.7s\r\n\r\n ERROR Error while requiring module nuxt-time: Error: Cannot find module '/Users/otr/code/reproduce/oripka/nuxt-time' 8:58:19 PM\r\nRequire stack:\r\n- /Users/otr/code/reproduce/oripka/index.js\r\n\r\n\r\n ERROR Cannot find module '/Users/otr/code/reproduce/oripka/nuxt-time' 8:58:19 PM\r\nRequire stack:\r\n- /Users/otr/code/reproduce/oripka/index.js\r\n\r\n Require stack:\r\n - index.js\r\n at Module._resolveFilename (node:internal/modules/cjs/loader:1142:15)\r\n at Function.resolve (node:internal/modules/helpers:190:19)\r\n at Function._resolve [as resolve] (node_modules/.pnpm/jiti@1.21.0/node_modules/jiti/dist/jiti.js:1:251148)\r\n at resolveModule (node_modules/.pnpm/@nuxt+kit@3.11.2/node_modules/@nuxt/kit/dist/index.mjs:2210:29)\r\n at requireModule (node_modules/.pnpm/@nuxt+kit@3.11.2/node_modules/@nuxt/kit/dist/index.mjs:2215:24)\r\n at loadNuxtModuleInstance (node_modules/.pnpm/@nuxt+kit@3.11.2/node_modules/@nuxt/kit/dist/index.mjs:2451:92)\r\n at async installModule (node_modules/.pnpm/@nuxt+kit@3.11.2/node_modules/@nuxt/kit/dist/index.mjs:2407:47)\r\n at async initNuxt (node_modules/.pnpm/nuxt@3.11.2_@unocss+reset@0.59.0_floating-vue@5.2.2_unocss@0.59.0_vite@5.2.8/node_modules/nuxt/dist/index.mjs:4233:7)\r\n at async loadNuxt (node_modules/.pnpm/nuxt@3.11.2_@unocss+reset@0.59.0_floating-vue@5.2.2_unocss@0.59.0_vite@5.2.8/node_modules/nuxt/dist/index.mjs:4331:5)\r\n at async loadNuxt (node_modules/.pnpm/@nuxt+kit@3.11.2/node_modules/@nuxt/kit/dist/index.mjs:2570:19)\r\n at async Object.run (node_modules/.pnpm/nuxi@3.11.1/node_modules/nuxi/dist/chunks/prepare.mjs:53:18)\r\n at async runCommand$1 (node_modules/.pnpm/nuxi@3.11.1/node_modules/nuxi/dist/shared/nuxi.9edf0930.mjs:1648:16)\r\n at async runCommand$1 (node_modules/.pnpm/nuxi@3.11.1/node_modules/nuxi/dist/shared/nuxi.9edf0930.mjs:1639:11)\r\n at async runMain$1 (node_modules/.pnpm/nuxi@3.11.1/node_modules/nuxi/dist/shared/nuxi.9edf0930.mjs:1777:7) \r\n\r\n\r\n\r\n ERROR Cannot find module '/Users/otr/code/reproduce/oripka/nuxt-time' 8:58:19 PM\r\nRequire stack:\r\n- /Users/otr/code/reproduce/oripka/index.js\r\n```\r\n\r\nNot sure why NODE_ENV is set to production, but ok, I move all the dependencies from `devDependencies` to `dependencies`, just to try to get it working (btw. it works fine without this in the original repo). \r\n\r\n\r\n\r\nUsing this I can get rid of that error but run into another one. Here the repo from the branch `icons` (as we run into problems with ui-pro and the icons packages)\r\n\r\n```\r\nexport default defineNuxtConfig({\r\n devtools: { enabled: true },\r\n extends: [\r\n ['github:oripka/nuxt-bug-extends-1#icons', { install: true}]\r\n ]\r\n})\r\n```\r\n\r\n```\r\npnpm install\r\nLockfile is up to date, resolution step is skipped\r\nAlready up to date\r\n\r\n> nuxt-app@ postinstall /Users/otr/code/reproduce/oripka\r\n> nuxt prepare\r\n\r\nLockfile is up to date, resolution step is skipped\r\nAlready up to date\r\n\r\ndevDependencies: skipped because NODE_ENV is set to production\r\n\r\nDone in 1s\r\n\r\n WARN Missing supabase url, set it either in nuxt.config.js or via env variable 9:01:38 PM\r\n\r\n\r\n WARN Missing supabase anon key, set it either in nuxt.config.js or via env variable 9:01:38 PM\r\n\r\n\r\n ERROR Icon collection \"heroicons\" not found. Please install @iconify-json/heroicons or @iconify/json 9:01:38 PM\r\n\r\n at node_modules/.c12/github_oripka_nuxt_R9fl2pEn9N/node_modules/.pnpm/@egoist+tailwindcss-icons@1.7.4_tailwindcss@3.4.3/node_modules/@egoist/tailwindcss-icons/dist/index.js:83:19\r\n at Array.reduce (\u003Canonymous>)\r\n at getIconCollections (node_modules/.c12/github_oripka_nuxt_R9fl2pEn9N/node_modules/.pnpm/@egoist+tailwindcss-icons@1.7.4_tailwindcss@3.4.3/node_modules/@egoist/tailwindcss-icons/dist/index.js:79:22)\r\n at setup (node_modules/.c12/github_oripka_nuxt_R9fl2pEn9N/node_modules/.pnpm/@nuxt+ui@2.15.1_nuxt@3.11.1_rollup@4.14.0_vite@5.2.8_vue@3.4.21/node_modules/@nuxt/ui/dist/module.mjs:397:96)\r\n at async normalizedModule (node_modules/.c12/github_oripka_nuxt_R9fl2pEn9N/node_modules/.pnpm/@nuxt+kit@3.11.1_rollup@4.14.0/node_modules/@nuxt/kit/dist/index.mjs:2112:17)\r\n at async installModule (node_modules/.pnpm/@nuxt+kit@3.11.2/node_modules/@nuxt/kit/dist/index.mjs:2415:95)\r\n at async initNuxt (node_modules/.pnpm/nuxt@3.11.2_@unocss+reset@0.59.0_floating-vue@5.2.2_unocss@0.59.0_vite@5.2.8/node_modules/nuxt/dist/index.mjs:4233:7)\r\n at async loadNuxt (node_modules/.pnpm/nuxt@3.11.2_@unocss+reset@0.59.0_floating-vue@5.2.2_unocss@0.59.0_vite@5.2.8/node_modules/nuxt/dist/index.mjs:4331:5)\r\n at async loadNuxt (node_modules/.pnpm/@nuxt+kit@3.11.2/node_modules/@nuxt/kit/dist/index.mjs:2570:19)\r\n at async Object.run (node_modules/.pnpm/nuxi@3.11.1/node_modules/nuxi/dist/chunks/prepare.mjs:53:18)\r\n at async runCommand$1 (node_modules/.pnpm/nuxi@3.11.1/node_modules/nuxi/dist/shared/nuxi.9edf0930.mjs:1648:16)\r\n at async runCommand$1 (node_modules/.pnpm/nuxi@3.11.1/node_modules/nuxi/dist/shared/nuxi.9edf0930.mjs:1639:11)\r\n at async runMain$1 (node_modules/.pnpm/nuxi@3.11.1/node_modules/nuxi/dist/shared/nuxi.9edf0930.mjs:1777:7) \r\n\r\n\r\n\r\n ERROR Icon collection \"heroicons\" not found. Please install @iconify-json/heroicons or @iconify/json 9:01:38 PM\r\n\r\n ELIFECYCLE Command failed with exit code 1.\r\n```\r\n\r\nMaybe I have an error in my config or I missing something fundamental about how this feature should work. @pi0 is this a bug?\r\n\r\n### Describe the bug\r\n\r\nExtending a github repository runs into dependency issues\r\n\r\n### Additional context\r\n\r\n_No response_\r\n\r\n### Logs\r\n\r\n_No response_",[3114,3115,3116,3117],{"name":3060,"color":3061},{"name":3021,"color":3022},{"name":3024,"color":3025},{"name":3118,"color":3119},"layers","006B75",26724,"Dependencies from github repository not found (extends)","2024-05-24T10:17:37Z","https://github.com/nuxt/nuxt/issues/26724",0.6683082,{"description":3126,"labels":3127,"number":3129,"owner":3027,"repository":3027,"state":3038,"title":3130,"updated_at":3131,"url":3132,"score":3133},"### Environment\n\n## Reproduction Output\n\n- Operating System: `Darwin`\n- Node Version: `v22.13.0`\n- Nuxt Version: `3.15.3`\n- CLI Version: `3.20.0`\n- Nitro Version: `2.10.4`\n- Package Manager: `pnpm@9.15.4`\n- Builder: `-`\n- User Config: `extends`, `compatibilityDate`, `devtools`\n- Runtime Modules: `-`\n- Build Modules: `-`\n\n\n## My actual project\n\n- Operating System: `Darwin`\n- Node Version: `v22.13.0`\n- Nuxt Version: `3.15.3`\n- CLI Version: `3.20.0`\n- Nitro Version: `2.10.4`\n- Package Manager: `pnpm@9.15.4`\n- Builder: `-`\n- User Config: `extends`, `future`, `compatibilityDate`, `devtools`\n- Runtime Modules: `-`\n- Build Modules: `-`\n\n\n### Reproduction\n\nhttps://github.com/jd-solanki/nuxt-layers-queries\n\n### Describe the bug\n\nHi 👋🏻 \n\nWhen we use local layer outside of current repo and try to use it, we end up having errors. For example, In given minimal reproduction I have added SASS as dependency and have `{ install: true }` when using layer but still in my project it is somehow not getting package properly and when I try to run the project, it ends up in following error:\n\n\n\n### Additional context\n\nMy related issue: https://github.com/nuxt/nuxt/issues/28975\n\n### Logs\n\n```shell-script\n> nuxt-app@ dev /private/tmp/nuxtlayers/myproject\n> nuxt dev\n\nNuxt 3.15.3 with Nitro 2.10.4 nuxi 1:40:10 PM\n 1:40:10 PM\n ➜ Local: http://localhost:3000/\n ➜ Network: use --host to expose\n\n ➜ DevTools: press Shift + Option + D in the browser (v1.7.0) 1:40:10 PM\n\n✔ Vite client built in 14ms 1:40:11 PM\n\n ERROR Pre-transform error: Preprocessor dependency \"sass-embedded\" not found. Did you install it? Try pnpm add -D sass-embedded. 1:40:11 PM\n Plugin: vite:css\n File: /private/tmp/nuxtlayers/mylayer/assets/css/main.scss\n\n✔ Vite server built in 225ms 1:40:11 PM\n✔ Nuxt Nitro server built in 252 ms nitro 1:40:11 PM\nℹ Vite client warmed up in 1ms 1:40:11 PM\nℹ Vite server warmed up in 337ms 1:40:12 PM\n```",[3128],{"name":3047,"color":3048},30750,"Project unable to properly install/use layer's dependencies even with `install: true`","2025-01-25T11:19:56Z","https://github.com/nuxt/nuxt/issues/30750",0.6728245,["Reactive",3135],{},["Set"],["ShallowReactive",3138],{"$fTRc1wZytZ_XrK4EfJfei_Sz-An4H4Yy6syhVxH_PVJc":-1,"$frSi4lhWDlAp_bUgbFikBfEvftbxmBs3jFpDHxGtQsCg":-1},"/nuxt/nuxt/22054"]