\n\t\u003C/UApp>\n\u003C/template>\n```\n\n\nRemoving the `UApp` for a `div` or `NuxtLayout` works\n\n### Description\n\nCrashes the app. The error seems to be related to the Button component, but even on a brand-new Nuxt project with no content (without even a page) it show the error below:\n\nWhen I use NuxtLayout (or other) instead of `UApp` and use the `UButton` component anywhere, it also cause the same issue\n\n### Logs\n\n```shell-script\n500\n[vite-node] [plugin:vite:vue] [VITE_ERROR] /@fs/Users/jeannen/Dev/apps/node_modules/@nuxt/ui/dist/runtime/components/Button.vue\n\n\u003Cscript lang=\"ts\">\nimport { tv, type VariantProps } from 'tailwind-variants'\nimport type { AppConfig } from '@nuxt/schema'\nimport _appConfig from '#build/app.config'\nimport theme from '#build/ui/button'\nimport type { LinkProps } from './Link.vue'\nimport type { UseComponentIconsProps } from '../composables/useComponentIcons'\nimport { extendDevtoolsMeta } from '../composables/extendDevtoolsMeta'\nimport type { AvatarProps } from '../types'\nimport type { PartialString } from '../types/utils'\n\nconst appConfig = _appConfig as AppConfig & { ui: { button: Partial\u003Ctypeof theme> } }\n\nconst button = tv({ extend: tv(theme), ...(appConfig.ui?.button || {}) })\n\ntype ButtonVariants = VariantProps\u003Ctypeof button>\n\nexport interface ButtonProps extends UseComponentIconsProps, Omit\u003CLinkProps, 'raw' | 'custom'> {\n label?: string\n color?: ButtonVariants['color']\n variant?: ButtonVariants['variant']\n size?: ButtonVariants['size']\n /** Render the button with equal padding on all sides. */\n square?: boolean\n /** Render the button full width. */\n block?: boolean\n /** Set loading state automatically based on the `@click` promise state */\n loadingAuto?: boolean\n onClick?: ((event: MouseEvent) => void | Promise\u003Cvoid>) | Array\u003C((event: MouseEvent) => void | Promise\u003Cvoid>)>\n class?: any\n ui?: PartialString\u003Ctypeof button.slots>\n}\n\n// Injects props to use as default in the devtools playground.\nextendDevtoolsMeta\u003CButtonProps>({ defaultProps: { label: 'Click me!' } })\n\nexport interface ButtonSlots {\n leading(props?: {}): any\n default(props?: {}): any\n trailing(props?: {}): any\n}\n\u003C/script>\n\n\u003Cscript setup lang=\"ts\">\nimport { type Ref, computed, ref, inject } from 'vue'\nimport { useForwardProps } from 'radix-vue'\nimport { useComponentIcons } from '../composables/useComponentIcons'\nimport { useButtonGroup } from '../composables/useButtonGroup'\nimport { formLoadingInjectionKey } from '../composables/useFormField'\nimport { omit } from '../utils'\nimport { pickLinkProps } from '../utils/link'\nimport UIcon from './Icon.vue'\nimport UAvatar from './Avatar.vue'\nimport ULink from './Link.vue'\n\nconst props = defineProps\u003CButtonProps>()\nconst slots = defineSlots\u003CButtonSlots>()\n\nconst linkProps = useForwardProps(pickLinkProps(props))\n\nconst { orientation, size: buttonSize } = useButtonGroup\u003CButtonProps>(props)\n\nconst loadingAutoState = ref(false)\nconst formLoading = inject\u003CRef\u003Cboolean> | undefined>(formLoadingInjectionKey, undefined)\n\nasync function onClickWrapper(event: MouseEvent) {\n loadingAutoState.value = true\n const callbacks = Array.isArray(props.onClick) ? props.onClick : [props.onClick]\n try {\n await Promise.all(callbacks.map(fn => fn?.(event)))\n } finally {\n loadingAutoState.value = false\n }\n}\n\nconst isLoading = computed(() => {\n return props.loading || (props.loadingAuto && (loadingAutoState.value || (formLoading?.value && props.type === 'submit')))\n})\n\nconst { isLeading, isTrailing, leadingIconName, trailingIconName } = useComponentIcons(\n computed(() => ({ ...props, loading: isLoading.value }))\n)\n\nconst ui = computed(() => button({\n color: props.color,\n variant: props.variant,\n size: buttonSize.value,\n loading: isLoading.value,\n block: props.block,\n square: props.square || (!slots.default && !props.label),\n leading: isLeading.value,\n trailing: isTrailing.value,\n buttonGroup: orientation.value\n}))\n\u003C/script>\n\n\u003Ctemplate>\n \u003CULink\n :type=\"type\"\n :disabled=\"disabled || isLoading\"\n :class=\"ui.base({ class: [props.class, props.ui?.base] })\"\n v-bind=\"omit(linkProps, ['type', 'disabled'])\"\n raw\n @click=\"onClickWrapper\"\n >\n \u003Cslot name=\"leading\">\n \u003CUIcon v-if=\"isLeading && leadingIconName\" :name=\"leadingIconName\" :class=\"ui.leadingIcon({ class: props.ui?.leadingIcon })\" />\n \u003CUAvatar v-else-if=\"!!avatar\" :size=\"((props.ui?.leadingAvatarSize || ui.leadingAvatarSize()) as AvatarProps['size'])\" v-bind=\"avatar\" :class=\"ui.leadingAvatar({ class: props.ui?.leadingAvatar })\" />\n \u003C/slot>\n\n \u003Cslot>\n \u003Cspan v-if=\"label\" :class=\"ui.label({ class: props.ui?.label })\" data-v-inspector=\"../../../node_modules/@nuxt/ui/dist/runtime/components/Button.vue:112:7\">\n {{ label }}\n \u003C/span>\n \u003C/slot>\n\n \u003Cslot name=\"trailing\">\n \u003CUIcon v-if=\"isTrailing && trailingIconName\" :name=\"trailingIconName\" :class=\"ui.trailingIcon({ class: props.ui?.trailingIcon })\" />\n \u003C/slot>\n \u003C/ULink>\n\u003C/template>\n\nat /@fs/Users/jeannen/Dev/apps/node_modules/@nuxt/ui/dist/runtime/components/Button.vue\n```\n\n### Additional context\n\n_No response_\n```",[2915,2918],{"name":2916,"color":2917},"bug","d73a4a",{"name":2919,"color":2920},"v3","49DCB8",2824,"ui","`UApp` / `UButton` crashes the whole app","2024-12-05T13:49:01Z","https://github.com/nuxt/ui/issues/2824",0.71460503,{"description":2928,"labels":2929,"number":2868,"owner":2869,"repository":2930,"state":2880,"title":2931,"updated_at":2932,"url":2933,"score":2875},"After discussing with Ferdinand, Alex and Clement. We decided to split the Partners page into two pages: Agencies and Partners\n\nThe Partners page will list only the technology partners for now, and later on we can add the Education partners (ex: VueSchool, MasteringNuxt, etc)\n\n\n\nThe filters will be based on the front-matter of the agencies.\n\nSo far we are thinking of:\n- Country\n- Skill\n\nSimilar to https://www.prestashop.com/en/experts",[],"nuxt.com","[Community] Agencies page","2023-02-15T12:31:32Z","https://github.com/nuxt/nuxt.com/issues/743",{"description":2935,"labels":2936,"number":2939,"owner":2869,"repository":2869,"state":2880,"title":2940,"updated_at":2941,"url":2942,"score":2943},"### Environment\n\n- Operating System: Windows_NT\r\n- Node Version: v18.16.0\r\n- Nuxt Version: 3.5.0\r\n- Nitro Version: 2.4.0\r\n- Package Manager: pnpm@8.4.0\r\n- Builder: vite\r\n- User Config: modules, vite, css, imports, pinia, sitemap, app, ignore, telemetry, appConfig, devServer, nitro\r\n- Runtime Modules: @nuxtjs/tailwindcss@6.6.6, @pinia/nuxt@0.4.8, @pinia-plugin-persistedstate/nuxt@1.1.1, @element-plus/nuxt@1.0.4, @nuxtjs/robots@3.0.0, nuxt-simple-sitemap@2.4.11\r\n- Build Modules: -\n\n### Reproduction\n\n-\n\n### Describe the bug\n\nCannot work after updating from 3.4.2 to 3.5.0 when run `dev`\r\n\r\nThis is error msg in terminal:\r\n\r\n```pwsh\r\nℹ Vite client warmed up in 8568ms\r\n[nitro] ✔ Nitro built in 7719 ms\r\n✔ Vite server hmr 20 files in 10116.675ms\r\n[Vue warn]: Unhandled error during execution of setup function \r\n at \u003CNuxtRoot>\r\n[nuxt] [request error] [unhandled] [500] nuxt.vueApp.runWithContext is not a function\r\n at callWithNuxt (D:\\GitRepo\\serverless\\frontend-monorepo\\node_modules\\.pnpm\\nuxt@3.5.0_@types+node@20.1.7_sass@1.62.0_typescript@5.0.4\\node_modules\\nuxt\\dist\\app\\nuxt.js:210:24)\r\n at Object.runWithContext (D:\\GitRepo\\serverless\\frontend-monorepo\\node_modules\\.pnpm\\nuxt@3.5.0_@types+node@20.1.7_sass@1.62.0_typescript@5.0.4\\node_modules\\nuxt\\dist\\app\\nuxt.js:32:29) \r\n\r\n at applyPlugin (D:\\GitRepo\\serverless\\frontend-monorepo\\node_modules\\.pnpm\\nuxt@3.5.0_@types+node@20.1.7_sass@1.62.0_typescript@5.0.4\\node_modules\\nuxt\\dist\\app\\nuxt.js:111:37)\r\n at Module.applyPlugins (D:\\GitRepo\\serverless\\frontend-monorepo\\node_modules\\.pnpm\\nuxt@3.5.0_@types+node@20.1.7_sass@1.62.0_typescript@5.0.4\\node_modules\\nuxt\\dist\\app\\nuxt.js:123:21) \r\n at createNuxtAppServer (D:\\GitRepo\\serverless\\frontend-monorepo\\node_modules\\.pnpm\\nuxt@3.5.0_@types+node@20.1.7_sass@1.62.0_typescript@5.0.4\\node_modules\\nuxt\\dist\\app\\entry.js:29:35) \r\n at __vite_ssr_exports__.default (D:\\GitRepo\\serverless\\frontend-monorepo\\node_modules\\.pnpm\\nuxt@3.5.0_@types+node@20.1.7_sass@1.62.0_typescript@5.0.4\\node_modules\\nuxt\\dist\\app\\entry.js:74:41)\r\n at default (/D:/GitRepo/serverless/frontend-monorepo/node_modules/.pnpm/@nuxt+vite-builder@3.5.0_@types+node@20.1.7_sass@1.62.0_typescript@5.0.4_vue@3.3.2/node_modules/@nuxt/vite-builder/dist/runtime/vite-node.mjs:31:24)\r\n at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\r\n at async Object.renderToString (/D:/GitRepo/serverless/frontend-monorepo/node_modules/.pnpm/vue-bundle-renderer@1.0.3/node_modules/vue-bundle-renderer/dist/runtime.mjs:176:19)\r\n at async /D:/GitRepo/serverless/frontend-monorepo/apps/dalle-nuxt3/.nuxt/dev/index.mjs:3201:21\r\n[Vue warn]: Unhandled error during execution of setup function \r\n at \u003CNuxtRoot>\r\n[nuxt] [request error] [unhandled] [500] nuxt.vueApp.runWithContext is not a function\r\n at callWithNuxt (D:\\GitRepo\\serverless\\frontend-monorepo\\node_modules\\.pnpm\\nuxt@3.5.0_@types+node@20.1.7_sass@1.62.0_typescript@5.0.4\\node_modules\\nuxt\\dist\\app\\nuxt.js:210:24)\r\n at Object.runWithContext (D:\\GitRepo\\serverless\\frontend-monorepo\\node_modules\\.pnpm\\nuxt@3.5.0_@types+node@20.1.7_sass@1.62.0_typescript@5.0.4\\node_modules\\nuxt\\dist\\app\\nuxt.js:32:29) \r\n\r\n at applyPlugin (D:\\GitRepo\\serverless\\frontend-monorepo\\node_modules\\.pnpm\\nuxt@3.5.0_@types+node@20.1.7_sass@1.62.0_typescript@5.0.4\\node_modules\\nuxt\\dist\\app\\nuxt.js:111:37)\r\n at Module.applyPlugins (D:\\GitRepo\\serverless\\frontend-monorepo\\node_modules\\.pnpm\\nuxt@3.5.0_@types+node@20.1.7_sass@1.62.0_typescript@5.0.4\\node_modules\\nuxt\\dist\\app\\nuxt.js:123:21) \r\n at createNuxtAppServer (D:\\GitRepo\\serverless\\frontend-monorepo\\node_modules\\.pnpm\\nuxt@3.5.0_@types+node@20.1.7_sass@1.62.0_typescript@5.0.4\\node_modules\\nuxt\\dist\\app\\entry.js:29:35) \r\n at __vite_ssr_exports__.default (D:\\GitRepo\\serverless\\frontend-monorepo\\node_modules\\.pnpm\\nuxt@3.5.0_@types+node@20.1.7_sass@1.62.0_typescript@5.0.4\\node_modules\\nuxt\\dist\\app\\entry.js:74:41)\r\n at default (/D:/GitRepo/serverless/frontend-monorepo/node_modules/.pnpm/@nuxt+vite-builder@3.5.0_@types+node@20.1.7_sass@1.62.0_typescript@5.0.4_vue@3.3.2/node_modules/@nuxt/vite-builder/dist/runtime/vite-node.mjs:31:24)\r\n at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\r\n at async Object.renderToString (/D:/GitRepo/serverless/frontend-monorepo/node_modules/.pnpm/vue-bundle-renderer@1.0.3/node_modules/vue-bundle-renderer/dist/runtime.mjs:176:19)\r\n at async /D:/GitRepo/serverless/frontend-monorepo/apps/dalle-nuxt3/.nuxt/dev/index.mjs:3201:21\r\n```\r\n\r\nThis is error msg in browser:\r\n\r\n```pwsh\r\n500\r\n__vite_ssr_import_0__.hasInjectionContext is not a function\r\n\r\nat Module.useRoute (D:\\GitRepo\\serverless\\frontend-monorepo\\node_modules\\.pnpm\\nuxt@3.5.0_@types+node@20.1.7_sass@1.62.0_typescript@5.0.4\\node_modules\\nuxt\\dist\\app\\composables\\router.js:21:29)\r\nat setup (D:\\GitRepo\\serverless\\frontend-monorepo\\node_modules\\.pnpm\\nuxt@3.5.0_@types+node@20.1.7_sass@1.62.0_typescript@5.0.4\\node_modules\\nuxt\\dist\\app\\components\\nuxt-root.vue:35:63)\r\nat _sfc_main.setup (D:\\GitRepo\\serverless\\frontend-monorepo\\node_modules\\.pnpm\\nuxt@3.5.0_@types+node@20.1.7_sass@1.62.0_typescript@5.0.4\\node_modules\\nuxt\\dist\\app\\components\\nuxt-root.vue:89:23)\r\nat callWithErrorHandling (D:\\GitRepo\\serverless\\frontend-monorepo\\node_modules\\.pnpm\\@vue+runtime-core@3.2.47\\node_modules\\@vue\\runtime-core\\dist\\runtime-core.cjs.js:171:22)\r\nat setupStatefulComponent (D:\\GitRepo\\serverless\\frontend-monorepo\\node_modules\\.pnpm\\@vue+runtime-core@3.2.47\\node_modules\\@vue\\runtime-core\\dist\\runtime-core.cjs.js:7194:29)\r\nat setupComponent (D:\\GitRepo\\serverless\\frontend-monorepo\\node_modules\\.pnpm\\@vue+runtime-core@3.2.47\\node_modules\\@vue\\runtime-core\\dist\\runtime-core.cjs.js:7149:11)\r\nat renderComponentVNode (D:\\GitRepo\\serverless\\frontend-monorepo\\node_modules\\.pnpm\\@vue+server-renderer@3.2.47_vue@3.2.47\\node_modules\\@vue\\server-renderer\\dist\\server-renderer.cjs.js:628:17)\r\nat renderToString (D:\\GitRepo\\serverless\\frontend-monorepo\\node_modules\\.pnpm\\@vue+server-renderer@3.2.47_vue@3.2.47\\node_modules\\@vue\\server-renderer\\dist\\server-renderer.cjs.js:906:26)\r\nat Object.renderToString$1 [as renderToString] (/D:/GitRepo/serverless/frontend-monorepo/apps/dalle-nuxt3/.nuxt/dev/index.mjs:3129:24)\r\nat Object.renderToString (/D:/GitRepo/serverless/frontend-monorepo/node_modules/.pnpm/vue-bundle-renderer@1.0.3/node_modules/vue-bundle-renderer/dist/runtime.mjs:177:40)\r\n```\n\n### Additional context\n\n_No response_\n\n### Logs\n\n_No response_",[2937,2938],{"name":2889,"color":2890},{"name":2866,"color":2892},20901,"nuxt.vueApp.runWithContext is not a function","2023-08-24T06:37:00Z","https://github.com/nuxt/nuxt/issues/20901",0.7195499,{"labels":2945,"number":2951,"owner":2869,"repository":2869,"state":2880,"title":2952,"updated_at":2953,"url":2954,"score":2955},[2946,2947,2948],{"name":2889,"color":2890},{"name":2866,"color":2892},{"name":2949,"color":2950},"upstream","E8A36D",13207,"TypeError: __vite_ssr_import_0__.getter is not a function","2023-01-19T16:48:31Z","https://github.com/nuxt/nuxt/issues/13207",0.7232753,{"description":2957,"labels":2958,"number":2961,"owner":2869,"repository":2869,"state":2880,"title":2962,"updated_at":2963,"url":2964,"score":2965},"### Environment\n\n- Operating System: `Darwin`\r\n- Node Version: `v18.13.0`\r\n- Nuxt Version: `3.1.2`\r\n- Nitro Version: `2.1.2`\r\n- Package Manager: `yarn@1.22.19`\r\n- Builder: `vite`\r\n- User Config: `typescript`, `vite`\r\n- Runtime Modules: `-`\r\n- Build Modules: `-`\n\n### Reproduction\n\nI have setup a basic codebase to reproduce the error at https://stackblitz.com/edit/github-c6xmxw\n\n### Describe the bug\n\nI am trying to use a library https://github.com/ownego/polaris-vue with a nuxt 3 project. Its a client-side library and I am hoping to use it with the nuxt\r\n\r\nI am getting following error when I setup the library with a fresh nuxt 3 project. I am loading the plugin on client side only so I am not sure what could be breaking on server side\r\n\r\nI have reproduced the error at https://stackblitz.com/edit/github-c6xmxw\r\n\r\n```\r\n[nuxt] [request error] [unhandled] [500] __vite_ssr_import_2__.createMemoryHistory is not a function 18:07:50\r\n at eval (./node_modules/nuxt/dist/pages/runtime/plugins/router.mjs:38:256) \r\n at fn (./node_modules/nuxt/dist/app/nuxt.mjs:151:27) \r\n at Object.callAsync (file://./node_modules/unctx/dist/index.mjs:68:19) \r\n at callWithNuxt (./node_modules/nuxt/dist/app/nuxt.mjs:153:23) \r\n at applyPlugin (./node_modules/nuxt/dist/app/nuxt.mjs:97:29) \r\n at Module.applyPlugins (./node_modules/nuxt/dist/app/nuxt.mjs:107:11) \r\n at async createNuxtAppServer (./node_modules/nuxt/dist/app/entry.mjs:29:7) \r\n at async 𝐝𝐞𝐟𝐚𝐮𝐥𝐭 (file://./node_modules/@nuxt/vite-builder/dist/runtime/vite-node.mjs:42:18) \r\n at async Object.renderToString (file://./node_modules/vue-bundle-renderer/dist/runtime.mjs:198:19) \r\n at async eval (file://./.nuxt/dev/index.mjs:700:21)\r\n```the \n\n### Additional context\n\n_No response_\n\n### Logs\n\n_No response_",[2959,2960],{"name":2889,"color":2890},{"name":2866,"color":2892},18891,"Getting an error when setting up a client side plugin ","2023-02-08T20:06:44Z","https://github.com/nuxt/nuxt/issues/18891",0.72350115,{"description":2967,"labels":2968,"number":2973,"owner":2869,"repository":2869,"state":2880,"title":2974,"updated_at":2975,"url":2976,"score":2977},"### Environment\r\n\r\n------------------------------\r\n- Operating System: Linux\r\n- Node Version: v16.16.0\r\n- Nuxt Version: 3.6.3\r\n- Nitro Version: 2.5.2\r\n- Package Manager: yarn@1.22.19\r\n- Builder: vite\r\n- User Config: telemetry, sourcemap, app, runtimeConfig, nitro, css, vite, modules, cors, i18n, build, devtools, imports, typescript\r\n- Runtime Modules: @vueuse/nuxt@10.2.1, nuxt-purgecss@2.0.0, @nuxtjs/i18n@8.0.0-beta.13-28155649.2e108fa, @pinia/nuxt@0.4.11\r\n- Build Modules: -\r\n------------------------------\r\n\r\n### Reproduction\r\n\r\nAdd this to your nuxt.config.js\r\n\r\n``` \r\ntypescript: {\r\n tsConfig: {\r\n compilerOptions: {\r\n moduleResolution: 'bundler'\r\n }\r\n }\r\n }\r\n```\r\n\r\n### Describe the bug\r\n\r\nThe following error is thrown\r\n\r\n```\r\n[7:40:51 PM] ERROR Cannot start nuxt: nuxt.options.typescript?.tsConfig?.compilerOptions?.moduleResolution?.toLowercase is not a function\r\n\r\n at initNitro (node_modules/nuxt/dist/index.mjs:2347:163)\r\n at initNuxt (node_modules/nuxt/dist/index.mjs:3264:9)\r\n at async load (node_modules/nuxi/dist/chunks/dev.mjs:205:9)\r\n at async Object.invoke (node_modules/nuxi/dist/chunks/dev.mjs:249:5)\r\n at async _main (node_modules/nuxi/dist/cli.mjs:49:20)\r\n ```\r\n\r\n### Additional context\r\n\r\nWorked fine in 3.6.2\r\n\r\n### Logs\r\n\r\n_No response_",[2969,2970,2971],{"name":2889,"color":2890},{"name":2916,"color":2917},{"name":2972,"color":2895},"🔨 p3-minor",22156,"Error after upgrading to 3.6.3","2024-08-23T16:54:25Z","https://github.com/nuxt/nuxt/issues/22156",0.7253396,["Reactive",2979],{},["Set"],["ShallowReactive",2982],{"$fTRc1wZytZ_XrK4EfJfei_Sz-An4H4Yy6syhVxH_PVJc":-1,"$fUp4GFvZbW2Ywq6JMvTOgeLcyy3lXeSM1IqaymbRFbZo":-1},"/nuxt/ui/305"]