yarn build generate errors

2 posts, 0 answers
  1. victor
    victor avatar
    3 posts
    Member since:
    Aug 2019

    Posted 05 Jun Link to this post

    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'.

  2. Nencho
    Nencho avatar
    1864 posts

    Posted 10 Jun Link to this post

    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.

    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.
Back to Top