Skip to content

Make NPM peer dependency with chartjs ^4.0.0 valid #428

Description

@SteamWind

I have chartjs v4 installed but npm warn me about missing peer dependency because of this plugin:
npm WARN chartjs-plugin-datalabels@2.0.0 requires a peer of chart.js@^3.0.0 but none is installed. You must install peer dependencies yourself.
Chartjs awesome clearly state that it is compatible with chartjs 4 and the plugin works with this version.
There should be something wrong with the package configuration of this plugin.
Is it easily fixable?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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