\n\n\u003Cimg width=\"372\" alt=\"Image\" src=\"https://github.com/user-attachments/assets/767441c1-d191-4c21-bf1e-56576b942a02\" />\n\nHTML output\n\u003Cimg width=\"292\" alt=\"Image\" src=\"https://github.com/user-attachments/assets/6a2bc536-20a5-40ae-b882-91cf581e2e8f\" />\n\n### Additional context\n\n_No response_\n\n### Logs\n\n```shell-script\n\n```",[2928,2929],{"name":2868,"color":2869},{"name":2890,"color":2891},30761,"The shared folder doesn't work as documented in layers setup","2025-02-12T10:26:23Z","https://github.com/nuxt/nuxt/issues/30761",0.6935407,{"description":2936,"labels":2937,"number":2940,"owner":2871,"repository":2871,"state":2893,"title":2941,"updated_at":2942,"url":2943,"score":2944},"### Environment\r\n\r\n- Operating System: `Darwin`\r\n- Node Version: `v19.3.0`\r\n- Nuxt Version: `3.8.0`\r\n- CLI Version: `3.9.1`\r\n- Nitro Version: `2.7.2`\r\n- Package Manager: `npm@9.3.1`\r\n- Builder: `-`\r\n- User Config: `-`\r\n- Runtime Modules: `-`\r\n- Build Modules: `-`\r\n\r\n\r\n### Reproduction\r\n\r\nhttps://github.com/halilyuce/monorepo\r\n\r\n### Describe the bug\r\n\r\nHere is my monorepo structure:\r\n\r\n\u003Cimg width=\"297\" alt=\"image\" src=\"https://github.com/nuxt/nuxt/assets/29376592/7a1f6640-6b7b-4f63-aa0e-62adce755b01\">\r\n\r\nI created a monorepo with npm workspaces and extended apps in the portal(main app) thanks to nuxt layers. Everything works as expected in production mode but not in dev mode?\r\n\r\nWhen I run the project in dev mode, I do not receive any errors. It stays on the nuxt loading screen and the computer starts to heat up seriously and the fans become loud, probably a memory problem. \r\n\r\nI have a decent laptop, according to my research, this problem occurs because the node_modules location changes when using monorepo. I applied dozens of solutions for this, but none of them worked.\r\n\r\n\u003Cimg width=\"454\" alt=\"image\" src=\"https://github.com/nuxt/nuxt/assets/29376592/cd338d5c-9071-43a9-9006-3e25e82f2169\">\r\n\r\n\r\n\r\n\r\n\r\n\r\n### Additional context\r\n\r\n_No response_\r\n\r\n### Logs\r\n\r\n_No response_",[2938,2939],{"name":2881,"color":2882},{"name":2868,"color":2869},24049,"Nuxt Layers + Npm Workspaces(Monorepo) Doesn't work only in Dev Mode","2023-10-31T21:23:22Z","https://github.com/nuxt/nuxt/issues/24049",0.69792306,{"description":2946,"labels":2947,"number":2950,"owner":2871,"repository":2871,"state":2893,"title":2951,"updated_at":2952,"url":2953,"score":2954},"### Environment\n\nWindows 11 > WSL2 Ubuntu\r\n\r\n------------------------------\r\n- Operating System: `Linux`\r\n- Node Version: `v18.11.0`\r\n- Nuxt Version: `2.15.8`\r\n- Nitro Version: `1.0.0`\r\n- Package Manager: `pnpm@7.14.2`\r\n- Builder: `webpack`\r\n- User Config: `-`\r\n- Runtime Modules: `-`\r\n- Build Modules: `-`\r\n------------------------------\n\n### Reproduction\n\nMinimal reproduction here: https://github.com/Suniron/monorepo-nuxt2-nuxt3-problem\r\n\r\nTry to install with `pnpm install` in root folder\n\n### Describe the bug\n\nHey,\r\n\r\nI'm working on a monorepo (with turborepo) of a big project using Nuxt 2 as web interface.\r\n\r\nI need to create a second web app which using Nuxt 3 but i can't start this app in the monorepo, i got this error when i try to install the project (`pnpm i` at root):\r\n\r\n```\r\nScope: all 7 workspace projects\r\nLockfile is up to date, resolution step is skipped\r\nAlready up to date\r\napps/nuxt3-app postinstall$ nuxt prepare\r\n│ Nuxi 3.0.0\r\n│ ℹ Client built in 7475ms\r\n│ ℹ Building server...\r\n│ ERROR [commonjs--resolver] Missing \"./server-renderer\" export in \"vue\" package\r\n│ ERROR Missing \"./server-renderer\" export in \"vue\" package\r\n```\r\n\r\nI think the problem is because the root node_modules is shared.\r\n\r\nI just pushed a simple version of my project here which reproduce the problem:\r\n\r\nhttps://github.com/Suniron/monorepo-nuxt2-nuxt3-problem\r\n\n\n### Additional context\n\n_No response_\n\n### Logs\n\n_No response_",[2948,2949],{"name":2881,"color":2882},{"name":2868,"color":2869},12331,"Impossible to have Nuxt 2 and Nuxt 3 in same monorepo: Nuxt 3 can't do postinstall","2023-11-30T12:59:06Z","https://github.com/nuxt/nuxt/issues/12331",0.6999803,{"description":2956,"labels":2957,"number":2960,"owner":2871,"repository":2871,"state":2893,"title":2961,"updated_at":2962,"url":2963,"score":2964},"### Environment\n\n- Operating System: `Darwin`\r\n- Node Version: `v14.20.1`\r\n- Nuxt Version: `3.0.0-rc.12`\r\n- Nitro Version: `0.6.0`\r\n- Package Manager: `pnpm@7.14.1`\r\n- Builder: `vite`\r\n- User Config: `-`\r\n- Runtime Modules: `-`\r\n- Build Modules: `-`\n\n### Reproduction\n\nℹ️ All works fine with `nuxt@3.0.0-rc.11`, error occur only with `nuxt@3.0.0-rc.12`.\r\n\r\n1. Create a new monorepo project.\r\n2. Add a single name in the `package.json` file of each Nuxt projects.\r\n3. Add `pnpm-workspace.yaml` to the root folder.\r\n4. Follow all `pnpm` steps on the [Nuxt installation](https://v3.nuxtjs.org/getting-started/installation/) page, for each projects.\r\n5. Run `pnpm --filter my-project-name dev -o` to the root folder.\r\n6. Error 500: `Unexpected token '||='`.\n\n### Describe the bug\n\nAfter \"Nitro built\" terminal message, there is an error 500 with the message: `Unexpected token '||='`.\r\n\r\n```\r\n500\r\nUnexpected token '||='\r\n\r\nat new Script (vm.js:102:7)\r\nat createScript (vm.js:262:10)\r\nat Object.runInThisContext (vm.js:310:10)\r\nat ViteNodeRunner.directRequest (/Users/bgd/Documents/Projects/scores-plus/node_modules/.pnpm/vite-node@0.24.5/node_modules/vite-node/dist/client.mjs:245:19)\r\nat processTicksAndRejections (internal/process/task_queues.js:95:5)\r\nat async ViteNodeRunner.cachedRequest (/Users/bgd/Documents/Projects/scores-plus/node_modules/.pnpm/vite-node@0.24.5/node_modules/vite-node/dist/client.mjs:129:12)\r\nat async request (/Users/bgd/Documents/Projects/scores-plus/node_modules/.pnpm/vite-node@0.24.5/node_modules/vite-node/dist/client.mjs:152:16)\r\nat async /Users/bgd/Documents/Projects/scores-plus/node_modules/.pnpm/nuxt@3.0.0-rc.12/node_modules/nuxt/dist/app/composables/index.mjs:46:31\r\nat async ViteNodeRunner.directRequest (/Users/bgd/Documents/Projects/scores-plus/node_modules/.pnpm/vite-node@0.24.5/node_modules/vite-node/dist/client.mjs:250:5)\r\nat async ViteNodeRunner.cachedRequest (/Users/bgd/Documents/Projects/scores-plus/node_modules/.pnpm/vite-node@0.24.5/node_modules/vite-node/dist/client.mjs:129:12)\r\n```\n\n### Additional context\n\n_No response_\n\n### Logs\n\n```shell\nat new Script (vm.js:102:7)\r\nat createScript (vm.js:262:10)\r\nat Object.runInThisContext (vm.js:310:10)\r\nat ViteNodeRunner.directRequest (/Users/bgd/Documents/Projects/scores-plus/node_modules/.pnpm/vite-node@0.24.5/node_modules/vite-node/dist/client.mjs:245:19)\r\nat processTicksAndRejections (internal/process/task_queues.js:95:5)\r\nat async ViteNodeRunner.cachedRequest (/Users/bgd/Documents/Projects/scores-plus/node_modules/.pnpm/vite-node@0.24.5/node_modules/vite-node/dist/client.mjs:129:12)\r\nat async request (/Users/bgd/Documents/Projects/scores-plus/node_modules/.pnpm/vite-node@0.24.5/node_modules/vite-node/dist/client.mjs:152:16)\r\nat async /Users/bgd/Documents/Projects/scores-plus/node_modules/.pnpm/nuxt@3.0.0-rc.12/node_modules/nuxt/dist/app/composables/index.mjs:46:31\r\nat async ViteNodeRunner.directRequest (/Users/bgd/Documents/Projects/scores-plus/node_modules/.pnpm/vite-node@0.24.5/node_modules/vite-node/dist/client.mjs:250:5)\r\nat async ViteNodeRunner.cachedRequest (/Users/bgd/Documents/Projects/scores-plus/node_modules/.pnpm/vite-node@0.24.5/node_modules/vite-node/dist/client.mjs:129:12)\n```\n",[2958,2959],{"name":2881,"color":2882},{"name":2868,"color":2869},15325,"Pnpm workspace - Error 500: Unexpected token '||='","2023-01-19T17:48:17Z","https://github.com/nuxt/nuxt/issues/15325",0.7002455,{"description":2966,"labels":2967,"number":2969,"owner":2871,"repository":2871,"state":2893,"title":2970,"updated_at":2971,"url":2972,"score":2973},"### Environment\n```\n❯ npx nuxi info\nWorking directory: /home/projects/sb1-vh6z4urm/packages/my-module nuxi 3:49:00 PM\nNuxt project info: nuxi 3:49:00 PM\n\n------------------------------\n- Operating System: Linux\n- Node Version: v18.20.3\n- Nuxt Version: 3.15.4\n- CLI Version: 3.21.1\n- Nitro Version: 2.10.4\n- Package Manager: pnpm@8.15.4\n- Builder: -\n- User Config: -\n- Runtime Modules: -\n- Build Modules: -\n------------------------------\n```\n\n### Reproduction\n\nhttps://stackblitz.com/edit/sb1-vh6z4urm?file=packages%2Fmy-module%2Fsrc%2Fruntime%2Fserver%2Fapi%2Fchallenge.get.ts\n\n### Describe the bug\n\nI am developing a package in a pnpm monorepo. Inside the `packages` folder you can find the a Nuxt module.\n\nWithing that module I use `await installModule('nuxt-auth-utils')` which is another Nuxt Module for auth.\n\nThis module specifically exports some vue composables (`useUserEvent`) and some [server utils](https://github.com/atinux/nuxt-auth-utils?tab=readme-ov-file#server-utils) like `clearUserSession, getUserSession, setUserSession` which I would like to use in my server and composables as well.\n\nIf I run `pnpm install && pnpm dev:prepare` within the `my-module` folder, the types are getting generated as expected and everything seems to work.\n\nNow, if I do `pnpm install && pnpm run --filter packages/my-module dev:prepare` then the `.nuxt` folder produced by Nuxt is different and the utilities from `nuxt-auth-utils` are no longer available.\n\n\n### Additional context\n\n## What I have tried\n\n1. Tried to define `.npmrc`\n\n```\npublic-hoist-pattern[]=*types*\npublic-hoist-pattern[]=@nuxt/*\npublic-hoist-pattern[]=nuxt-auth-utils\nshamefully-hoist=true\n```\n\n2. Installing `nuxt-auth-utils` in the root.\n\n\nDoes anyone know why I might be doing wrong?\nAny work around?\n\n\nThank you!\n\n### Logs\n\n```shell-script\n\n```",[2968],{"name":2868,"color":2869},30816,"[Nuxt modules] Unable to use exported methods from other modules in my module","2025-02-21T13:35:55Z","https://github.com/nuxt/nuxt/issues/30816",0.70088613,{"description":2975,"labels":2976,"number":2979,"owner":2871,"repository":2871,"state":2893,"title":2980,"updated_at":2981,"url":2982,"score":2983},"### Environment\r\n\r\n## Monorepo root\r\n```\r\n------------------------------\r\n- Operating System: `Linux`\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@8.1.0`\r\n- Builder: `vite`\r\n- User Config: `-`\r\n- Runtime Modules: `-`\r\n- Build Modules: `-`\r\n------------------------------\r\n```\r\n\r\n## App and Layer\r\n```\r\n------------------------------\r\n- Operating System: `Linux`\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@8.1.0`\r\n- Builder: `vite`\r\n- User Config: `extends`\r\n- Runtime Modules: `-`\r\n- Build Modules: `-`\r\n------------------------------\r\n```\r\n\r\n### Reproduction\r\n\r\n1. clone this example https://github.com/kleinpetr/nuxt-layers\r\n2. run `pnpm i` in the root (it runs `nuxt prepare` at the end)\r\n3. open `layers/my-layer/nuxt.config.ts` (you should see the error as below)\r\n\r\n\r\n\r\n### Describe the bug\r\n\r\nI am playing with Nuxt Layers and facing some troubles, especially with auto imports inside layers \r\n\r\nwhen I run `pnpm build` or even `nuxi prepare` the error message disappears for a while but then returns back as you can see on the gif below\r\n\r\n\r\n\r\nI am using Volar TS Exntension with Takeover mode (I also tried enable builtin TS Language Extension and Disable Volar, but the result is still the same) \r\n\r\nDo you have any suggestion what should be the problem? (in the `/app` folder everything works fine, but inside `/layers` it is not)\r\n\r\nThanks for help :pray: \r\n\r\n### Additional context\r\nDiscussion: https://github.com/nuxt/nuxt/discussions/19963\r\nOS: Linux Fedora 37\r\nVSCode: version 1.76.2\r\n\r\n### Logs\r\n\r\n_No response_",[2977,2978],{"name":2881,"color":2882},{"name":2868,"color":2869},20155,"Nuxt Layers - VSCode auto-imports","2024-02-22T08:27:01Z","https://github.com/nuxt/nuxt/issues/20155",0.70116615,["Reactive",2985],{},["Set"],["ShallowReactive",2988],{"$fTRc1wZytZ_XrK4EfJfei_Sz-An4H4Yy6syhVxH_PVJc":-1,"$fY5xHDUcJf92A7WqYn-9roDIfyTMWAa1EK7cP7ZplyVA":-1},"/nuxt/nuxt/26065"]