Guest User

Untitled

a guest
Jun 30th, 2025
18
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 16.72 KB | None | 0 0
  1. yarn run v1.22.22
  2. warning package.json: No license field
  3. $ ./node_modules/@rancher/shell/scripts/build-pkg.sh kubedb-ext
  4. Building UI Package kubedb-ext
  5.   Package name:    kubedb-ext-0.1.0
  6.   Package version: 0.1.0
  7.   Output formats:  umd-min
  8.   Output directory: /home/tahsin/go/src/go.bytebuilders.dev/kubedb-ext/dist-pkg/kubedb-ext-0.1.0
  9. ~/go/src/go.bytebuilders.dev/kubedb-ext/pkg/kubedb-ext ~/go/src/go.bytebuilders.dev/kubedb-ext
  10. All browser targets in the browserslist configuration have supported ES module.
  11. Therefore we don't build two separate bundles for differential loading.
  12.  
  13.  
  14. ⠹  Building for production as library (umd-min)...
  15.  
  16. ERROR  Failed to compile with 13 errors                                                                                                                                           10:53:52 AM
  17.  
  18. error  in ../../node_modules/@rancher/shell/components/form/labeled-select-utils/labeled-select-pagination.ts:3:48
  19.  
  20. TS2307: Cannot find module 'vue/types/v3-component-options' or its corresponding type declarations.
  21.    1 | import { debounce } from 'lodash';
  22.    2 | import { PropType, defineComponent } from 'vue';
  23.  > 3 | import { ComputedOptions, MethodOptions } from 'vue/types/v3-component-options';
  24.      |                                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  25.    4 | import { LabelSelectPaginateFn, LABEL_SELECT_NOT_OPTION_KINDS, LABEL_SELECT_KINDS } from '@shell/types/components/labeledSelect';
  26.    5 |
  27.    6 | interface Props {
  28.  
  29. error  in ../../node_modules/@rancher/shell/components/form/labeled-select-utils/labeled-select-pagination.ts:43:44
  30.  
  31. TS2344: Type 'Data' does not satisfy the constraint 'string'.
  32.    41 |  * 'mixin' to provide pagination support to LabeledSelect
  33.    42 |  */
  34.  > 43 | export default defineComponent<Props, any, Data, Computed, Methods>({
  35.       |                                            ^^^^
  36.    44 |   props: {
  37.    45 |     paginate: {
  38.    46 |       default: null,
  39.  
  40. error  in design-system/components/Form/LabeledInput/LabeledInput.vue:26:3
  41.  
  42. TS2769: No overload matches this call.
  43.  Overload 2 of 3, '(setup: (props: Record<string, any>, ctx: { attrs: Data; slots: Readonly<InternalSlots>; emit: (event: string, ...args: any[]) => void; expose: <Exposed extends Record<string, any> = Record<...>>(exposed?: Exposed) => void; }) => RenderFunction | Promise<...>, options?: Pick<...> & { ...; }): DefineSetupFnComponent<...>', gave the following error.
  44.    Object literal may only specify known properties, and 'components' does not exist in type '(props: Record<string, any>, ctx: { attrs: Data; slots: Readonly<InternalSlots>; emit: (event: string, ...args: any[]) => void; expose: <Exposed extends Record<string, any> = Record<...>>(exposed?: Exposed) => void; }) => RenderFunction | Promise<...>'.
  45.    24 |
  46.    25 | export default defineComponent({
  47.  > 26 |   components: { LabeledTooltip, TextAreaAutoGrow },
  48.       |   ^^^^^^^^^^
  49.    27 |
  50.    28 |   inheritAttrs: false,
  51.    29 |
  52.  
  53. error  in design-system/components/Form/Radio/RadioGroup.vue:14:16
  54.  
  55. TS2769: No overload matches this call.
  56.  Overload 1 of 3, '(setup: (props: Record<string, any>, ctx: { attrs: Data; slots: Readonly<InternalSlots>; emit: (event: string, ...args: any[]) => void; expose: <Exposed extends Record<string, any> = Record<...>>(exposed?: Exposed) => void; }) => RenderFunction | Promise<...>, options?: Pick<...> & { ...; }): DefineSetupFnComponent<...>', gave the following error.
  57.    Object literal may only specify known properties, and 'components' does not exist in type '(props: Record<string, any>, ctx: { attrs: Data; slots: Readonly<InternalSlots>; emit: (event: string, ...args: any[]) => void; expose: <Exposed extends Record<string, any> = Record<...>>(exposed?: Exposed) => void; }) => RenderFunction | Promise<...>'.
  58.  Overload 2 of 3, '(setup: (props: Record<string, any>, ctx: { attrs: Data; slots: Readonly<InternalSlots>; emit: (event: string, ...args: any[]) => void; expose: <Exposed extends Record<string, any> = Record<...>>(exposed?: Exposed) => void; }) => RenderFunction | Promise<...>, options?: Pick<...> & { ...; }): DefineSetupFnComponent<...>', gave the following error.
  59.    Object literal may only specify known properties, and 'components' does not exist in type '(props: Record<string, any>, ctx: { attrs: Data; slots: Readonly<InternalSlots>; emit: (event: string, ...args: any[]) => void; expose: <Exposed extends Record<string, any> = Record<...>>(exposed?: Exposed) => void; }) => RenderFunction | Promise<...>'.
  60.  Overload 3 of 3, '(options: { props?: string[] | ({ name: { type: StringConstructor; required: true; }; options: { type: PropType<Option[] | string[]>; required: true; }; labels: { type: PropType<string[]>; default: any; }; ... 7 more ...; row: { ...; }; } & ThisType<...>); __typeProps?: unknown; __typeEmits?: {}; __typeRefs?: {}; __typeEl?: any; } & ComponentOptionsBase<...> & ThisType<...>): DefineComponent<...>', gave the following error.
  61.    Type 'typeof import("/home/tahsin/go/src/go.bytebuilders.dev/kubedb-ext/node_modules/vue/dist/vue")' is not assignable to type 'Component<any, any, any, ComputedOptions, MethodOptions, {}, any>'.
  62.      Type 'typeof import("/home/tahsin/go/src/go.bytebuilders.dev/kubedb-ext/node_modules/vue/dist/vue")' is not assignable to type 'ComponentOptions<any, any, any, ComputedOptions, MethodOptions, any, any, any, string, {}, {}, string, {}, {}, {}, string, ComponentProvideOptions>'.
  63.        Type 'typeof import("/home/tahsin/go/src/go.bytebuilders.dev/kubedb-ext/node_modules/vue/dist/vue")' is not assignable to type 'ComponentOptionsBase<any, any, any, ComputedOptions, MethodOptions, any, any, any, string, {}, {}, string, {}, {}, {}, string, ComponentProvideOptions>'.
  64.          Types of property 'computed' are incompatible.
  65.            Type '{ <T>(getter: ComputedGetter<T>, debugOptions?: DebuggerOptions): ComputedRef<T>; <T, S = T>(options: WritableComputedOptions<T, S>, debugOptions?: DebuggerOptions): WritableComputedRef<...>; }' is not assignable to type 'ComputedOptions'.
  66.              Index signature for type 'string' is missing in type '{ <T>(getter: ComputedGetter<T>, debugOptions?: DebuggerOptions): ComputedRef<T>; <T, S = T>(options: WritableComputedOptions<T, S>, debugOptions?: DebuggerOptions): WritableComputedRef<...>; }'.
  67.    12 | }
  68.    13 |
  69.  > 14 | export default defineComponent({
  70.       |                ^^^^^^^^^^^^^^^
  71.    15 |   components: { RadioButton },
  72.    16 |   props:      {
  73.    17 |     /**
  74.  
  75. error  in design-system/components/RcButton/RcButton.test.ts:78:22
  76.  
  77. TS2349: This expression is not callable.
  78.  Type 'never' has no call signatures.
  79.    76 |     );
  80.    77 |
  81.  > 78 |     await wrapper.vm.focus();
  82.       |                      ^^^^^
  83.    79 |     const button = wrapper.find('button');
  84.    80 |
  85.    81 |     expect(button.element).toBe(document.activeElement);
  86.  
  87. error  in design-system/components/StringList/StringList.test.ts:244:68
  88.  
  89. TS2339: Property 'length' does not exist on type 'unknown'.
  90.    242 |         await wrapper.vm.$nextTick();
  91.    243 |
  92.  > 244 |         const itemsCount = (wrapper.emitted('change') || [])[0][0].length;
  93.        |                                                                    ^^^^^^
  94.    245 |
  95.    246 |         expect(itemsCount).toBe(0);
  96.    247 |       });
  97.  
  98. error  in design-system/components/StringList/StringList.test.ts:451:69
  99.  
  100. TS2339: Property 'duplicate' does not exist on type 'unknown'.
  101.    449 |         await wrapper.vm.$nextTick();
  102.    450 |
  103.  > 451 |         const isDuplicate = (wrapper.emitted('errors') || [])[0][0].duplicate;
  104.        |                                                                     ^^^^^^^^^
  105.    452 |
  106.    453 |         expect(isDuplicate).toBe(true);
  107.    454 |       });
  108.  
  109. error  in design-system/components/StringList/StringList.test.ts:469:69
  110.  
  111. TS2339: Property 'duplicate' does not exist on type 'unknown'.
  112.    467 |         await wrapper.vm.$nextTick();
  113.    468 |
  114.  > 469 |         const isDuplicate = (wrapper.emitted('errors') || [])[0][0].duplicate;
  115.        |                                                                     ^^^^^^^^^
  116.    470 |
  117.    471 |         expect(isDuplicate).toBe(true);
  118.    472 |       });
  119.  
  120. error  in design-system/components/StringList/StringList.test.ts:575:69
  121.  
  122. TS2339: Property 'duplicate' does not exist on type 'unknown'.
  123.    573 |         await wrapper.vm.$nextTick();
  124.    574 |
  125.  > 575 |         const isDuplicate = (wrapper.emitted('errors') || [])[0][0].duplicate;
  126.        |                                                                     ^^^^^^^^^
  127.    576 |
  128.    577 |         expect(isDuplicate).toBe(true);
  129.    578 |       });
  130.  
  131. error  in design-system/components/StringList/StringList.test.ts:592:69
  132.  
  133. TS2339: Property 'duplicate' does not exist on type 'unknown'.
  134.    590 |         await wrapper.vm.$nextTick();
  135.    591 |
  136.  > 592 |         const isDuplicate = (wrapper.emitted('errors') || [])[0][0].duplicate;
  137.        |                                                                     ^^^^^^^^^
  138.    593 |
  139.    594 |         expect(isDuplicate).toBe(true);
  140.    595 |       });
  141.  
  142. error  in design-system/components/StringList/StringList.test.ts:727:67
  143.  
  144. TS2339: Property 'duplicate' does not exist on type 'unknown'.
  145.    725 |       await inputField.setValue('test');
  146.    726 |
  147.  > 727 |       const isDuplicate = (wrapper.emitted('errors') || [])[0][0].duplicate;
  148.        |                                                                   ^^^^^^^^^
  149.    728 |
  150.    729 |       expect(isDuplicate).toBe(true);
  151.    730 |     });
  152.  
  153. error  in design-system/components/StringList/StringList.test.ts:749:67
  154.  
  155. TS2339: Property 'duplicate' does not exist on type 'unknown'.
  156.    747 |       await inputField.setValue('test-1');
  157.    748 |
  158.  > 749 |       const isDuplicate = (wrapper.emitted('errors') || [])[0][0].duplicate;
  159.        |                                                                   ^^^^^^^^^
  160.    750 |
  161.    751 |       expect(isDuplicate).toBe(false);
  162.    752 |     });
  163.  
  164. error  in design-system/components/StringList/StringList.vue:31:16
  165.  
  166. TS2769: No overload matches this call.
  167.  Overload 1 of 3, '(setup: (props: Record<string, any>, ctx: { attrs: Data; slots: Readonly<InternalSlots>; emit: (event: string, ...args: any[]) => void; expose: <Exposed extends Record<string, any> = Record<...>>(exposed?: Exposed) => void; }) => RenderFunction | Promise<...>, options?: Pick<...> & { ...; }): DefineSetupFnComponent<...>', gave the following error.
  168.    Object literal may only specify known properties, and 'name' does not exist in type '(props: Record<string, any>, ctx: { attrs: Data; slots: Readonly<InternalSlots>; emit: (event: string, ...args: any[]) => void; expose: <Exposed extends Record<string, any> = Record<...>>(exposed?: Exposed) => void; }) => RenderFunction | Promise<...>'.
  169.  Overload 2 of 3, '(setup: (props: Record<string, any>, ctx: { attrs: Data; slots: Readonly<InternalSlots>; emit: (event: string, ...args: any[]) => void; expose: <Exposed extends Record<string, any> = Record<...>>(exposed?: Exposed) => void; }) => RenderFunction | Promise<...>, options?: Pick<...> & { ...; }): DefineSetupFnComponent<...>', gave the following error.
  170.    Object literal may only specify known properties, and 'name' does not exist in type '(props: Record<string, any>, ctx: { attrs: Data; slots: Readonly<InternalSlots>; emit: (event: string, ...args: any[]) => void; expose: <Exposed extends Record<string, any> = Record<...>>(exposed?: Exposed) => void; }) => RenderFunction | Promise<...>'.
  171.  Overload 3 of 3, '(options: { props?: string[] | ({ items: { type: PropType<string[]>; default: () => any[]; }; caseSensitive: { type: BooleanConstructor; default: boolean; }; readonly: { type: BooleanConstructor; default: boolean; }; placeholder: { ...; }; actionsPosition: { ...; }; errorMessages: { ...; }; bulkAdditionDelimiter: { ...; }; } & ThisType<...>); __typeProps?: unknown; __typeEmits?: {}; __typeRefs?: {}; __typeEl?: any; } & ComponentOptionsBase<...> & ThisType<...>): DefineComponent<...>', gave the following error.
  172.    Type 'typeof import("/home/tahsin/go/src/go.bytebuilders.dev/kubedb-ext/node_modules/vue/dist/vue")' is not assignable to type 'Component<any, any, any, ComputedOptions, MethodOptions, {}, any>'.
  173.      Type 'typeof import("/home/tahsin/go/src/go.bytebuilders.dev/kubedb-ext/node_modules/vue/dist/vue")' is not assignable to type 'ComponentOptions<any, any, any, ComputedOptions, MethodOptions, any, any, any, string, {}, {}, string, {}, {}, {}, string, ComponentProvideOptions>'.
  174.        Type 'typeof import("/home/tahsin/go/src/go.bytebuilders.dev/kubedb-ext/node_modules/vue/dist/vue")' is not assignable to type 'ComponentOptionsBase<any, any, any, ComputedOptions, MethodOptions, any, any, any, string, {}, {}, string, {}, {}, {}, string, ComponentProvideOptions>'.
  175.          Types of property 'computed' are incompatible.
  176.            Type '{ <T>(getter: ComputedGetter<T>, debugOptions?: DebuggerOptions): ComputedRef<T>; <T, S = T>(options: WritableComputedOptions<T, S>, debugOptions?: DebuggerOptions): WritableComputedRef<...>; }' is not assignable to type 'ComputedOptions'.
  177.              Index signature for type 'string' is missing in type '{ <T>(getter: ComputedGetter<T>, debugOptions?: DebuggerOptions): ComputedRef<T>; <T, S = T>(options: WritableComputedOptions<T, S>, debugOptions?: DebuggerOptions): WritableComputedRef<...>; }'.
  178.    29 |  * Manage a list of strings
  179.    30 |  */
  180.  > 31 | export default defineComponent({
  181.       |                ^^^^^^^^^^^^^^^
  182.    32 |   name:       'StringList',
  183.    33 |   components: { LabeledInput },
  184.    34 |   props:      {
  185.  
  186. Error parsing bundle asset "/home/tahsin/go/src/go.bytebuilders.dev/kubedb-ext/dist-pkg/kubedb-ext-0.1.0/kubedb-ext-0.1.0.umd.min.js": no such file
  187.  
  188. No bundles were parsed. Analyzer will show only original module sizes from stats file.
  189.  
  190. Webpack Bundle Analyzer saved report to /home/tahsin/go/src/go.bytebuilders.dev/kubedb-ext/dist-pkg/kubedb-ext-0.1.0/report.html
  191. ERROR  Error: Build failed with errors.
  192. Error: Build failed with errors.
  193.    at /home/tahsin/go/src/go.bytebuilders.dev/kubedb-ext/node_modules/@vue/cli-service/lib/commands/build/index.js:207:23
  194.    at /home/tahsin/go/src/go.bytebuilders.dev/kubedb-ext/node_modules/webpack/lib/webpack.js:168:8
  195.    at /home/tahsin/go/src/go.bytebuilders.dev/kubedb-ext/node_modules/webpack/lib/MultiCompiler.js:657:5
  196.    at /home/tahsin/go/src/go.bytebuilders.dev/kubedb-ext/node_modules/neo-async/async.js:2830:7
  197.    at done (/home/tahsin/go/src/go.bytebuilders.dev/kubedb-ext/node_modules/neo-async/async.js:2865:11)
  198.    at /home/tahsin/go/src/go.bytebuilders.dev/kubedb-ext/node_modules/neo-async/async.js:2818:7
  199.    at /home/tahsin/go/src/go.bytebuilders.dev/kubedb-ext/node_modules/webpack/lib/HookWebpackError.js:67:2
  200.    at Hook.eval [as callAsync] (eval at create (/home/tahsin/go/src/go.bytebuilders.dev/kubedb-ext/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:6:1)
  201.    at Hook.CALL_ASYNC_DELEGATE [as _callAsync] (/home/tahsin/go/src/go.bytebuilders.dev/kubedb-ext/node_modules/tapable/lib/Hook.js:20:14)
  202.    at Cache.shutdown (/home/tahsin/go/src/go.bytebuilders.dev/kubedb-ext/node_modules/webpack/lib/Cache.js:156:23)
  203.    at /home/tahsin/go/src/go.bytebuilders.dev/kubedb-ext/node_modules/webpack/lib/Compiler.js:1376:15
  204.    at Hook.eval [as callAsync] (eval at create (/home/tahsin/go/src/go.bytebuilders.dev/kubedb-ext/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:6:1)
  205.    at Hook.CALL_ASYNC_DELEGATE [as _callAsync] (/home/tahsin/go/src/go.bytebuilders.dev/kubedb-ext/node_modules/tapable/lib/Hook.js:20:14)
  206.    at Compiler.close (/home/tahsin/go/src/go.bytebuilders.dev/kubedb-ext/node_modules/webpack/lib/Compiler.js:1369:23)
  207.    at /home/tahsin/go/src/go.bytebuilders.dev/kubedb-ext/node_modules/webpack/lib/MultiCompiler.js:654:14
  208.    at arrayEach (/home/tahsin/go/src/go.bytebuilders.dev/kubedb-ext/node_modules/neo-async/async.js:2405:9)
  209.    at Object.each (/home/tahsin/go/src/go.bytebuilders.dev/kubedb-ext/node_modules/neo-async/async.js:2846:9)
  210.    at MultiCompiler.close (/home/tahsin/go/src/go.bytebuilders.dev/kubedb-ext/node_modules/webpack/lib/MultiCompiler.js:651:12)
  211.    at /home/tahsin/go/src/go.bytebuilders.dev/kubedb-ext/node_modules/webpack/lib/webpack.js:167:16
  212.    at /home/tahsin/go/src/go.bytebuilders.dev/kubedb-ext/node_modules/webpack/lib/MultiCompiler.js:631:14
  213.    at processQueueWorker (/home/tahsin/go/src/go.bytebuilders.dev/kubedb-ext/node_modules/webpack/lib/MultiCompiler.js:568:6)
  214.    at process.processTicksAndRejections (node:internal/process/task_queues:85:11)
  215. Updating package file
  216. ~/go/src/go.bytebuilders.dev/kubedb-ext
  217. error Command failed with exit code 1.
  218. info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
Tags: vue
Add Comment
Please, Sign In to add comment