Skip to content

jQuery included twice when using Yarn/Webpack #2004

@mickel1138

Description

@mickel1138

Our package.json has jQuery as a dependency 3.5.1 and jQuery-UI has a it at >1.8.0 & <4.0.0
However when doing a Yarn install, two version of jQuery are installed. 3.5.1 and 3.6.0, which breaks jQuery-UI.

When I request jQuery to set at 3.6.0 or ^3.5.1 (3.5.1 and up) its works fine.
Before, a node_modules was added to jQuery-UI folder inside node_modules.

We have it working now, but just wanted to mention it for others who had similar issues, and comments in case we were doing something wrong?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions