Skip to content

Dependency version bug with plugins #6236

@kimjoar

Description

@kimjoar

I have this dep in my plugin "semver": "^5.1.0", but when running the app I get the semver specified in Kibana's package.json, namely "semver": "4.3.6". Because of a bug in semver my plugins fails.

I find this comment in the bundle built by Kibana:

// Use the define() function if we're in AMD land

which exists in 4.3.6, but not in 5.1.0.

We need to find a way to make sure plugins get the right versions of dependencies, otherwise I think we'll see lots of strange, subtle bugs.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Feature:PluginsTeam:CorePlatform Core services: plugins, logging, config, saved objects, http, ES client, i18n, etc t//

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions