@ build /data/workspace/git_workspaces/halo/ui
run-s build:console build:uc
@ build:console /data/workspace/git_workspaces/halo/ui
vue-tsc --noEmit -p tsconfig.app.json --composite false && vite build --config ./vite.config.ts
console-src/modules/contents/pages/components/SinglePageSettingModal.vue:401:15 - error TS2322: Type 'string | undefined' is not assignable to type 'undefined'.
Type 'string' is not assignable to type 'undefined'.
401 v-model="publishTime"
node_modules/.pnpm/@formkit+inputs@1.6.5/node_modules/@formkit/inputs/dist/index.d.mts:591:5
591 modelValue: PropType<Props, 'value'>;
~~~~~~~~~~
The expected type comes from property 'modelValue' which is declared here on type 'NonNullable<(Omit<Partial<FormKitBaseProps>, "number" | "value" | "type"> & Omit<Partial<FormKitRuntimeProps<{ modelValue: string | undefined; label: string; type: "datetime-local"; name: string; min: string; max: string; }, unknown>>, "number" | ... 1 more ... | "type"> & Omit<...> & Partial<...> & { ...; }) | ... ...'
console-src/modules/contents/posts/components/PostSettingModal.vue:432:15 - error TS2322: Type 'string | undefined' is not assignable to type 'undefined'.
Type 'string' is not assignable to type 'undefined'.
432 v-model="publishTime"
node_modules/.pnpm/@formkit+inputs@1.6.5/node_modules/@formkit/inputs/dist/index.d.mts:591:5
591 modelValue: PropType<Props, 'value'>;
The expected type comes from property 'modelValue' which is declared here on type 'NonNullable<(Omit<Partial<FormKitBaseProps>, "number" | "value" | "type"> & Omit<Partial<FormKitRuntimeProps<{ modelValue: string | undefined; label: string; type: "datetime-local"; min: string; max: string; help: string; }, unknown>>, "number" | ... 1 more ... | "type"> & Omit<...> & Partial<...> & { ...; }) | ... ...'
console-src/modules/interface/menus/components/MenuItemEditingModal.vue:307:15 - error TS2322: Type 'string | undefined' is not assignable to type '"number" | "search" | "meta" | "hidden" | "button" | "code" | "form" | "select" | "textarea" | "time" | "submit" | "text" | "url" | "attachment" | "email" | "tel" | "group" | "checkbox" | ... 24 more ... | undefined'.
307 :type="selectedRef.inputType"
~~~~~
node_modules/.pnpm/@formkit+inputs@1.6.5/node_modules/@formkit/inputs/dist/index.d.mts:117:9
117 type: 'number';
~~~~
The expected type comes from property 'type' which is declared here on type 'NonNullable<(Omit<Partial<FormKitBaseProps>, "number" | "value" | "type"> & Omit<Partial<FormKitRuntimeProps<{ id: string | undefined; key: string | undefined; modelValue: string; placeholder: string; label: string; type: string | undefined; validation: string; }, unknown>>, "number" | ... 1 more ... | "type"> & Omi...'
console-src/setup/setupModules.ts:76:30 - error TS2345: Argument of type 'RouteRecordNameGeneric' is not assignable to parameter of type 'NonNullable<RouteRecordNameGeneric>'.
76 router.removeRoute(route.parentName);
~~~~~~~~~~~~~~~~
uc-src/setup/setupModules.ts:76:30 - error TS2345: Argument of type 'RouteRecordNameGeneric' is not assignable to parameter of type 'NonNullable<RouteRecordNameGeneric>'.
Type 'undefined' is not assignable to type 'NonNullable<RouteRecordNameGeneric>'.
76 router.removeRoute(route.parentName);
~~~~~~~~~~~~~~~~
Found 5 errors in 5 files.
Errors Files
1 console-src/modules/contents/pages/components/SinglePageSettingModal.vue:401
1 console-src/modules/contents/posts/components/PostSettingModal.vue:432
1 console-src/modules/interface/menus/components/MenuItemEditingModal.vue:307
1 console-src/setup/setupModules.ts:76
1 uc-src/setup/setupModules.ts:76
ELIFECYCLE Command failed with exit code 2.
ERROR: "build:console" exited with 2.
ELIFECYCLE Command failed with exit code 1.