Skip to content

Peer Dependencies incorrectly satisfied #199

@stormojm

Description

@stormojm

I am currently in process of updating a repository to Yarn 2. They surface a new warning when peer dependencies are not met correctly:

YN0002: │ load-grunt-config@npm:4.0.1 doesn't provide grunt (p20905), requested by jit-grunt
YN0002: │ load-grunt-config@npm:4.0.1 doesn't provide grunt (p0d729), requested by load-grunt-tasks

This occurs even if you have grunt in your package's devDependency list. The fix is to add grunt into the peerDependencies of load-grunt-config.

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