This is a migrated thread and some comments may be shown as answers.

yarn build generate errors

1 Answer 104 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
victor
Top achievements
Rank 1
victor asked on 06 Jun 2020, 12:25 AM

When a I want to generate a production version, the next error is emitted by the compiler.

No overload matches this call.
  The last overload gave the following error.
    Argument of type 'ComponentOptions<InputAllMethods, DefaultData<InputData>, DefaultMethods<InputAllMethods>, InputComputed, RecordPropsDefinition<...>, Record<...>>' is not assignable to parameter of type 'ComponentOptions<Vue, DefaultData<Vue>, DefaultMethods<Vue>, DefaultComputed, PropsDefinition<Record<string, any>>, Record<...>>'.
      Types of property 'methods' are incompatible.
        Type 'DefaultMethods<InputAllMethods> | undefined' is not assignable to type 'DefaultMethods<Vue> | undefined'.
          Type 'DefaultMethods<InputAllMethods>' is not assignable to type 'DefaultMethods<Vue>'.
            Index signatures are incompatible.
              Type '(this: InputAllMethods, ...args: any[]) => any' is not assignable to type '(this: Vue, ...args: any[]) => any'.
                The 'this' types of each signature are incompatible.
                  Type 'Vue' is not assignable to type 'InputAllMethods'.

1 Answer, 1 is accepted

Sort by
0
Nencho
Telerik team
answered on 10 Jun 2020, 05:08 AM

Hello, Victor,

Would it be possible to send us over a runnable example (it can contain dummy data), in order for us to revise it closely in attempt to replicate the errors? It would be helpful to see the exact build definition that you have at your end, so we can track the reason for errors.

Regards,
Nencho
Progress Telerik

Progress is here for your business, like always. Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic.
Our thoughts here at Progress are with those affected by the outbreak.
Tags
General Discussions
Asked by
victor
Top achievements
Rank 1
Answers by
Nencho
Telerik team
Share this question
or