\r\n \u003C/NuxtLayout>\r\n \u003C/div>\r\n\u003C/template>\r\n```\r\n\r\nCreate basic `layouts/default.vue` and 'pages/index.vue`.\r\n\r\nMake sure your default layout has a `\u003Cslot />`.\r\n\r\nRun `yarn dev -o`.\r\n\r\nError:\r\n\r\n```\r\n ERROR Cannot start nuxt: The requested module '@nuxt/kit' does not provide an export named 'addServerMiddleware'\r\n\r\n import { defineNuxtModule, resolvePath, resolveAlias, createResolver, requireModule, addTemplate, isNuxt2, installModule, addServerMiddleware } from '@nuxt/kit';\r\n ^^^^^^^^^^^^^^^^^^^\r\n SyntaxError: The requested module '@nuxt/kit' does not provide an export named 'addServerMiddleware'\r\n at ModuleJob._instantiate (node:internal/modules/esm/module_job:128:21) \r\n at async ModuleJob.run (node:internal/modules/esm/module_job:194:5)\r\n at async Promise.all (index 0)\r\n at async ESMLoader.import (node:internal/modules/esm/loader:409:24)\r\n at async importModuleDynamicallyWrapper (node:internal/vm/module:435:15) \r\n at async installModule (/E:/LocalDevelopmentFiles/mapbox-distance-project/node_modules/@nuxt/kit/dist/index.mjs:416:3)\r\n at async initNuxt (/E:/LocalDevelopmentFiles/mapbox-distance-project/node_modules/nuxt/dist/index.mjs:1825:7)\r\n at async load (/E:/LocalDevelopmentFiles/mapbox-distance-project/node_modules/nuxi/dist/chunks/dev.mjs:6779:9)\r\n at async Object.invoke (/E:/LocalDevelopmentFiles/mapbox-distance-project/node_modules/nuxi/dist/chunks/dev.mjs:6840:5)\r\n at async _main (/E:/LocalDevelopmentFiles/mapbox-distance-project/node_modules/nuxi/dist/cli.mjs:50:20)\r\n ```\n\n### Describe the bug\n\nClean install is throwing this error. Attempted the following Google-search fixes:\r\n\r\n---\r\n\r\n`npm update @nuxt/kit`\r\n\r\nDid not fix.\r\n\r\n---\r\n\r\n`npx nuxi upgrade --force`\r\n\r\nDid not fix.\r\n\r\n---\r\n\r\nRemove all files.\r\n\r\nRetrace steps.\r\n\r\n2/2 clean installs failed.\r\n\r\n---\r\n\r\n\n\n### Additional context\n\n_No response_\n\n### Logs\n\n_No response_",[3105,3106],{"name":3041,"color":3042},{"name":3021,"color":3022},15718,"Installation Failing - Cannot start nuxt: The requested module '@nuxt/kit' does not provide an export named 'addServerMiddleware'","2023-01-19T18:20:19Z","https://github.com/nuxt/nuxt/issues/15718",0.6709544,{"description":3113,"labels":3114,"number":3118,"owner":3024,"repository":3024,"state":3033,"title":3119,"updated_at":3120,"url":3121,"score":3122},"### Environment\r\n\r\nUbuntu 20.04.5 LTS\r\nNode: 16.16.0\r\nNuxt: 3.6.1\r\nNitro: 2.5.2\r\n\r\n### Reproduction\r\n\r\n* Create a local module which uses (await import(file/path) to import a js module\r\n* Start development server\r\n* See terminal output.\r\n\r\n### Describe the bug\r\n\r\nBasically what I'm doing is I'm grabbing modules from my ~/server/discord/events folder within my custom module.\r\n\r\naliases inside of the import module don't work, and this issue bubbles up through each module that is imported into the imported module.\r\n\r\n```\r\nimport myModule from \"~/server/utils/myModule\" \u003C-- throws a module error cannot be found at runtime\r\n\r\n```\r\n\r\nif I use relative paths, any aliased import inside THAT module will throw an error:\r\n\r\n```\r\nimport myModule from \"../../../../utils/myModule\"\r\n```\r\n\r\n```\r\nmyModule.ts\r\nimport anotherModule from \"~/server/utils/anotherModule\" \u003C-- throws runtime error since it's in a module being imported into a nuxt module.\r\n```\r\n\r\n```\r\n ERROR Cannot find module '~/server/utils/anotherModule' nuxt3-discord-bot 11:02:55 a.m.\r\nRequire stack:\r\n- /home/blackout/Projects/workplaces/nuxtApps/mywebapp/server/models/roster/myModule.ts\r\n\r\n Require stack:\r\n - server/models/roster/anotherModule.ts\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_",[3115,3116,3117],{"name":3041,"color":3042},{"name":3021,"color":3022},{"name":3075,"color":3076},22713,"Nuxt3 Module: Unable to dynamic import dependencies that contain alias imports","2023-08-30T16:38:20Z","https://github.com/nuxt/nuxt/issues/22713",0.671232,["Reactive",3124],{},["Set"],["ShallowReactive",3127],{"$fTRc1wZytZ_XrK4EfJfei_Sz-An4H4Yy6syhVxH_PVJc":-1,"$fe6SL6oNi6vl4K2iu9k62505PcA36Mj4X1e-Ggk8YQ-s":-1},"/nuxt/nuxt/26277"]