\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```",[3089,3090],{"name":3020,"color":3021},{"name":3051,"color":3052},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":3097,"labels":3098,"number":3101,"owner":3023,"repository":3023,"state":3054,"title":3102,"updated_at":3103,"url":3104,"score":3105},"### 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_",[3099,3100],{"name":3042,"color":3043},{"name":3020,"color":3021},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":3107,"labels":3108,"number":3111,"owner":3023,"repository":3023,"state":3054,"title":3112,"updated_at":3113,"url":3114,"score":3115},"### 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_",[3109,3110],{"name":3042,"color":3043},{"name":3020,"color":3021},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":3117,"labels":3118,"number":3121,"owner":3023,"repository":3023,"state":3054,"title":3122,"updated_at":3123,"url":3124,"score":3125},"### 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",[3119,3120],{"name":3042,"color":3043},{"name":3020,"color":3021},15325,"Pnpm workspace - Error 500: Unexpected token '||='","2023-01-19T17:48:17Z","https://github.com/nuxt/nuxt/issues/15325",0.70024544,{"description":3127,"labels":3128,"number":3130,"owner":3023,"repository":3023,"state":3054,"title":3131,"updated_at":3132,"url":3133,"score":3134},"### 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```",[3129],{"name":3020,"color":3021},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,["Reactive",3136],{},["Set"],["ShallowReactive",3139],{"$fTRc1wZytZ_XrK4EfJfei_Sz-An4H4Yy6syhVxH_PVJc":-1,"$fY5xHDUcJf92A7WqYn-9roDIfyTMWAa1EK7cP7ZplyVA":-1},"/nuxt/nuxt/26065"]