Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- yarn run v1.22.22
- warning package.json: No license field
- $ ./node_modules/@rancher/shell/scripts/build-pkg.sh kubedb-ext
- Building UI Package kubedb-ext
- Package name: kubedb-ext-0.1.0
- Package version: 0.1.0
- Output formats: umd-min
- Output directory: /home/tahsin/go/src/go.bytebuilders.dev/kubedb-ext/dist-pkg/kubedb-ext-0.1.0
- ~/go/src/go.bytebuilders.dev/kubedb-ext/pkg/kubedb-ext ~/go/src/go.bytebuilders.dev/kubedb-ext
- All browser targets in the browserslist configuration have supported ES module.
- Therefore we don't build two separate bundles for differential loading.
- ⠹ Building for production as library (umd-min)...
- ERROR Failed to compile with 13 errors 10:53:52 AM
- error in ../../node_modules/@rancher/shell/components/form/labeled-select-utils/labeled-select-pagination.ts:3:48
- TS2307: Cannot find module 'vue/types/v3-component-options' or its corresponding type declarations.
- 1 | import { debounce } from 'lodash';
- 2 | import { PropType, defineComponent } from 'vue';
- > 3 | import { ComputedOptions, MethodOptions } from 'vue/types/v3-component-options';
- | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- 4 | import { LabelSelectPaginateFn, LABEL_SELECT_NOT_OPTION_KINDS, LABEL_SELECT_KINDS } from '@shell/types/components/labeledSelect';
- 5 |
- 6 | interface Props {
- error in ../../node_modules/@rancher/shell/components/form/labeled-select-utils/labeled-select-pagination.ts:43:44
- TS2344: Type 'Data' does not satisfy the constraint 'string'.
- 41 | * 'mixin' to provide pagination support to LabeledSelect
- 42 | */
- > 43 | export default defineComponent<Props, any, Data, Computed, Methods>({
- | ^^^^
- 44 | props: {
- 45 | paginate: {
- 46 | default: null,
- error in design-system/components/Form/LabeledInput/LabeledInput.vue:26:3
- TS2769: No overload matches this call.
- 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.
- 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<...>'.
- 24 |
- 25 | export default defineComponent({
- > 26 | components: { LabeledTooltip, TextAreaAutoGrow },
- | ^^^^^^^^^^
- 27 |
- 28 | inheritAttrs: false,
- 29 |
- error in design-system/components/Form/Radio/RadioGroup.vue:14:16
- TS2769: No overload matches this call.
- 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.
- 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<...>'.
- 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.
- 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<...>'.
- 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.
- 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>'.
- 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>'.
- 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>'.
- Types of property 'computed' are incompatible.
- 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'.
- 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<...>; }'.
- 12 | }
- 13 |
- > 14 | export default defineComponent({
- | ^^^^^^^^^^^^^^^
- 15 | components: { RadioButton },
- 16 | props: {
- 17 | /**
- error in design-system/components/RcButton/RcButton.test.ts:78:22
- TS2349: This expression is not callable.
- Type 'never' has no call signatures.
- 76 | );
- 77 |
- > 78 | await wrapper.vm.focus();
- | ^^^^^
- 79 | const button = wrapper.find('button');
- 80 |
- 81 | expect(button.element).toBe(document.activeElement);
- error in design-system/components/StringList/StringList.test.ts:244:68
- TS2339: Property 'length' does not exist on type 'unknown'.
- 242 | await wrapper.vm.$nextTick();
- 243 |
- > 244 | const itemsCount = (wrapper.emitted('change') || [])[0][0].length;
- | ^^^^^^
- 245 |
- 246 | expect(itemsCount).toBe(0);
- 247 | });
- error in design-system/components/StringList/StringList.test.ts:451:69
- TS2339: Property 'duplicate' does not exist on type 'unknown'.
- 449 | await wrapper.vm.$nextTick();
- 450 |
- > 451 | const isDuplicate = (wrapper.emitted('errors') || [])[0][0].duplicate;
- | ^^^^^^^^^
- 452 |
- 453 | expect(isDuplicate).toBe(true);
- 454 | });
- error in design-system/components/StringList/StringList.test.ts:469:69
- TS2339: Property 'duplicate' does not exist on type 'unknown'.
- 467 | await wrapper.vm.$nextTick();
- 468 |
- > 469 | const isDuplicate = (wrapper.emitted('errors') || [])[0][0].duplicate;
- | ^^^^^^^^^
- 470 |
- 471 | expect(isDuplicate).toBe(true);
- 472 | });
- error in design-system/components/StringList/StringList.test.ts:575:69
- TS2339: Property 'duplicate' does not exist on type 'unknown'.
- 573 | await wrapper.vm.$nextTick();
- 574 |
- > 575 | const isDuplicate = (wrapper.emitted('errors') || [])[0][0].duplicate;
- | ^^^^^^^^^
- 576 |
- 577 | expect(isDuplicate).toBe(true);
- 578 | });
- error in design-system/components/StringList/StringList.test.ts:592:69
- TS2339: Property 'duplicate' does not exist on type 'unknown'.
- 590 | await wrapper.vm.$nextTick();
- 591 |
- > 592 | const isDuplicate = (wrapper.emitted('errors') || [])[0][0].duplicate;
- | ^^^^^^^^^
- 593 |
- 594 | expect(isDuplicate).toBe(true);
- 595 | });
- error in design-system/components/StringList/StringList.test.ts:727:67
- TS2339: Property 'duplicate' does not exist on type 'unknown'.
- 725 | await inputField.setValue('test');
- 726 |
- > 727 | const isDuplicate = (wrapper.emitted('errors') || [])[0][0].duplicate;
- | ^^^^^^^^^
- 728 |
- 729 | expect(isDuplicate).toBe(true);
- 730 | });
- error in design-system/components/StringList/StringList.test.ts:749:67
- TS2339: Property 'duplicate' does not exist on type 'unknown'.
- 747 | await inputField.setValue('test-1');
- 748 |
- > 749 | const isDuplicate = (wrapper.emitted('errors') || [])[0][0].duplicate;
- | ^^^^^^^^^
- 750 |
- 751 | expect(isDuplicate).toBe(false);
- 752 | });
- error in design-system/components/StringList/StringList.vue:31:16
- TS2769: No overload matches this call.
- 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.
- 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<...>'.
- 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.
- 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<...>'.
- 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.
- 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>'.
- 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>'.
- 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>'.
- Types of property 'computed' are incompatible.
- 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'.
- 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<...>; }'.
- 29 | * Manage a list of strings
- 30 | */
- > 31 | export default defineComponent({
- | ^^^^^^^^^^^^^^^
- 32 | name: 'StringList',
- 33 | components: { LabeledInput },
- 34 | props: {
- 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
- No bundles were parsed. Analyzer will show only original module sizes from stats file.
- Webpack Bundle Analyzer saved report to /home/tahsin/go/src/go.bytebuilders.dev/kubedb-ext/dist-pkg/kubedb-ext-0.1.0/report.html
- ERROR Error: Build failed with errors.
- Error: Build failed with errors.
- at /home/tahsin/go/src/go.bytebuilders.dev/kubedb-ext/node_modules/@vue/cli-service/lib/commands/build/index.js:207:23
- at /home/tahsin/go/src/go.bytebuilders.dev/kubedb-ext/node_modules/webpack/lib/webpack.js:168:8
- at /home/tahsin/go/src/go.bytebuilders.dev/kubedb-ext/node_modules/webpack/lib/MultiCompiler.js:657:5
- at /home/tahsin/go/src/go.bytebuilders.dev/kubedb-ext/node_modules/neo-async/async.js:2830:7
- at done (/home/tahsin/go/src/go.bytebuilders.dev/kubedb-ext/node_modules/neo-async/async.js:2865:11)
- at /home/tahsin/go/src/go.bytebuilders.dev/kubedb-ext/node_modules/neo-async/async.js:2818:7
- at /home/tahsin/go/src/go.bytebuilders.dev/kubedb-ext/node_modules/webpack/lib/HookWebpackError.js:67:2
- 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)
- at Hook.CALL_ASYNC_DELEGATE [as _callAsync] (/home/tahsin/go/src/go.bytebuilders.dev/kubedb-ext/node_modules/tapable/lib/Hook.js:20:14)
- at Cache.shutdown (/home/tahsin/go/src/go.bytebuilders.dev/kubedb-ext/node_modules/webpack/lib/Cache.js:156:23)
- at /home/tahsin/go/src/go.bytebuilders.dev/kubedb-ext/node_modules/webpack/lib/Compiler.js:1376:15
- 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)
- at Hook.CALL_ASYNC_DELEGATE [as _callAsync] (/home/tahsin/go/src/go.bytebuilders.dev/kubedb-ext/node_modules/tapable/lib/Hook.js:20:14)
- at Compiler.close (/home/tahsin/go/src/go.bytebuilders.dev/kubedb-ext/node_modules/webpack/lib/Compiler.js:1369:23)
- at /home/tahsin/go/src/go.bytebuilders.dev/kubedb-ext/node_modules/webpack/lib/MultiCompiler.js:654:14
- at arrayEach (/home/tahsin/go/src/go.bytebuilders.dev/kubedb-ext/node_modules/neo-async/async.js:2405:9)
- at Object.each (/home/tahsin/go/src/go.bytebuilders.dev/kubedb-ext/node_modules/neo-async/async.js:2846:9)
- at MultiCompiler.close (/home/tahsin/go/src/go.bytebuilders.dev/kubedb-ext/node_modules/webpack/lib/MultiCompiler.js:651:12)
- at /home/tahsin/go/src/go.bytebuilders.dev/kubedb-ext/node_modules/webpack/lib/webpack.js:167:16
- at /home/tahsin/go/src/go.bytebuilders.dev/kubedb-ext/node_modules/webpack/lib/MultiCompiler.js:631:14
- at processQueueWorker (/home/tahsin/go/src/go.bytebuilders.dev/kubedb-ext/node_modules/webpack/lib/MultiCompiler.js:568:6)
- at process.processTicksAndRejections (node:internal/process/task_queues:85:11)
- Updating package file
- ~/go/src/go.bytebuilders.dev/kubedb-ext
- error Command failed with exit code 1.
- info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
Add Comment
Please, Sign In to add comment