jQuery UI Widgets Forums Angular Duplicate identifier 'widget'.

This topic contains 1 reply, has 2 voices, and was last updated by  Stanislav 6 years, 5 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • Duplicate identifier 'widget'. #98732

    Cooldude68
    Participant

    I’m getting this error despite even though i have jqwidgets.d.ts in assets\jqwidgets-ts and if i try to remove jqwidgets.d.ts, i get this

    ERROR in node_modules/jqwidgets-scripts/jqwidgets-ts/jqwidgets.d.ts(18,18): error TS2300: Duplicate identifier ‘widget’.
    src/assets/jqwidgets-ts/angular_jqxbuttons.ts(6,22): error TS6053: File ‘C:/Angular2/jqwidgets/src/assets/jqwidgets-ts/jqw
    idgets.d.ts’ not found.
    src/assets/jqwidgets-ts/angular_jqxcheckbox.ts(6,22): error TS6053: File ‘C:/Angular2/jqwidgets/src/assets/jqwidgets-ts/jq
    widgets.d.ts’ not found.
    src/assets/jqwidgets-ts/angular_jqxinput.ts(6,22): error TS6053: File ‘C:/Angular2/jqwidgets/src/assets/jqwidgets-ts/jqwid
    gets.d.ts’ not found.
    src/assets/jqwidgets-ts/ddjqwidgets.d.ts(18,18): error TS2300: Duplicate identifier ‘widget’.

    Duplicate identifier 'widget'. #98793

    Stanislav
    Participant

    Hello Cooldude68,

    Can you please send us an example, how do we reproduce this issue?

    From the information you have provided, I did some research and found, that the issue comes from declaring the same files twice.
    If you have two projects, maybe they are installing the same files which throws you this error.
    If you do, search for those files and leave only one, so they do not conflict.

    Best Regards,
    Stanislav

    jQWidgets Team
    http://www.jqwidgets.com/

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.