Hum+
Hum+
NNuxt
Created by Hum+ on 3/17/2025 in #❓・help
browser.mjs?v=a506e15d:48 ssr:warn [Vue warn]: resolveComponent can only be used in render() or setu
browser.mjs?v=a506e15d:48 ssr:warn [Vue warn]: resolveComponent can only be used in render() or setup(). Inspector: at <anonymous> (C:\Users\justserdar\Documents\GitHub\nuxt\playground\node_modules.pnpm\[email protected][email protected][email protected]\node_modules\nuxt\dist\core\runtime\nitro\plugins\dev-server-logs.js) at Object.log (C:\Users\justserdar\Documents\GitHub\nuxt\playground\node_modules.pnpm\[email protected][email protected][email protected]\node_modules\nuxt\dist\core\runtime\nitro\plugins\dev-server-logs.js) at warn$1 (C:\Users\justserdar\Documents\GitHub\nuxt\playground\node_modules.pnpm@[email protected]\node_modules@vue\runtime-core\dist\runtime-core.cjs.js) at resolveAsset (C:\Users\justserdar\Documents\GitHub\nuxt\playground\node_modules.pnpm@[email protected]\node_modules@vue\runtime-core\dist\runtime-core.cjs.js) at resolveComponent (C:\Users\justserdar\Documents\GitHub\nuxt\playground\node_modules.pnpm@[email protected]\node_modules@vue\runtime-core\dist\runtime-core.cjs.js) Console: ℹ Running with compatibility version 4 nuxt 19:29:07 ✔ Vite client built in 51ms 19:29:08 ✔ Vite server built in 766ms 19:29:09 ✔ Nuxt Nitro server built in 1111ms nitro 19:29:10 ℹ Vite client warmed up in 4ms 19:29:10 ℹ Vite server warmed up in 1010ms 19:29:11 WARN [Vue warn]: resolveComponent can only be used in render() or setup(). WARN [Vue warn]: resolveComponent can only be used in render() or setup().
40 replies
NNuxt
Created by Hum+ on 3/17/2025 in #❓・help
Getting a error from [email protected]
Uncaught SyntaxError: The requested module '/_nuxt/@fs/C:/Users/justserdar/Documents/GitHub/.../node_modules/.pnpm/[email protected]/node_modules/unhead/dist/index.mjs?v=4b4d1985' does not provide an export named 'getActiveHead'
21 replies
NNuxt
Created by Hum+ on 3/5/2025 in #❓・help
is Nuxt Ui Pro following a different Design Rule Set?
No description
6 replies
NNuxt
Created by Hum+ on 2/13/2025 in #❓・help
Nuxt UI Pro - Docs template
When running the direct CLI on the repo page: npx nuxi init -t github:nuxt-ui-pro/docs#v3 I get this output:
ERROR Pre-transform error: [@vue/compiler-sfc] Failed to resolve extends base type. 14:31:24
If this previously worked in 3.2, you can instruct the compiler to ignore this extend by adding /* @vue-ignore */ before it, for example:

interface Props extends /* @vue-ignore */ Base {}

Note: both in 3.2 or with the ignore, the properties in the base type are treated as fallthrough
attrs at runtime.

C:/Users/justserdar/Documents/GitHub/nuxt-creem-docs/node_modules/@nuxt/ui/dist/runtime/components/Button.vue
62 | const { orientation, size: buttonSize } = useButtonGroup<ButtonProps>(props)
63 |
64 | const loadingAutoState = ref(false)
| ^
65 | const formLoading = inject<Ref<boolean> | undefined>(formLoadingInjectionKey, undefined)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
66 |
Plugin: vite:vue
File: C:/Users/justserdar/Documents/GitHub/nuxt-creem-docs/node_modules/@nuxt/ui/dist/runtime/components/Button.vue (x7)


[14:31:26] ERROR Pre-transform error: Failed to resolve import "@nuxt/ui/runtime/components/Toaster.d.vue.js" from "../node_modules/@nuxt/ui/dist/runtime/components/App.vue". Does the file exist?
Plugin: vite:import-analysis
File: C:/Users/justserdar/Documents/GitHub/nuxt-creem-docs/node_modules/@nuxt/ui/dist/runtime/components/App.vue:28:21
16 | import { ConfigProvider, TooltipProvider, useForwardProps } from "reka-ui";
17 | import { reactivePick } from "@vueuse/core";
18 | import UToaster from "@nuxt/ui/runtime/components/Toaster.d.vue.js";
| ^
19 | import UModalProvider from "@nuxt/ui/runtime/components/ModalProvider.d.vue.js";
20 | import USlideoverProvider from "@nuxt/ui/runtime/components/SlideoverProvider.d.vue.js";
ERROR Pre-transform error: [@vue/compiler-sfc] Failed to resolve extends base type. 14:31:24
If this previously worked in 3.2, you can instruct the compiler to ignore this extend by adding /* @vue-ignore */ before it, for example:

interface Props extends /* @vue-ignore */ Base {}

Note: both in 3.2 or with the ignore, the properties in the base type are treated as fallthrough
attrs at runtime.

C:/Users/justserdar/Documents/GitHub/nuxt-creem-docs/node_modules/@nuxt/ui/dist/runtime/components/Button.vue
62 | const { orientation, size: buttonSize } = useButtonGroup<ButtonProps>(props)
63 |
64 | const loadingAutoState = ref(false)
| ^
65 | const formLoading = inject<Ref<boolean> | undefined>(formLoadingInjectionKey, undefined)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
66 |
Plugin: vite:vue
File: C:/Users/justserdar/Documents/GitHub/nuxt-creem-docs/node_modules/@nuxt/ui/dist/runtime/components/Button.vue (x7)


[14:31:26] ERROR Pre-transform error: Failed to resolve import "@nuxt/ui/runtime/components/Toaster.d.vue.js" from "../node_modules/@nuxt/ui/dist/runtime/components/App.vue". Does the file exist?
Plugin: vite:import-analysis
File: C:/Users/justserdar/Documents/GitHub/nuxt-creem-docs/node_modules/@nuxt/ui/dist/runtime/components/App.vue:28:21
16 | import { ConfigProvider, TooltipProvider, useForwardProps } from "reka-ui";
17 | import { reactivePick } from "@vueuse/core";
18 | import UToaster from "@nuxt/ui/runtime/components/Toaster.d.vue.js";
| ^
19 | import UModalProvider from "@nuxt/ui/runtime/components/ModalProvider.d.vue.js";
20 | import USlideoverProvider from "@nuxt/ui/runtime/components/SlideoverProvider.d.vue.js";
DOM doesn't load sadly, but this builds fine on server.
24 replies