Skip to content

Missing peer dependencies #9

Description

@jlengstorf

This is awesome — thanks so much for putting it together!

When I went to install it, though, I got the following warnings about missing peer dependencies:

$ yarn global add graphql-cli-gramps
yarn global v1.3.2
[1/4] 🔍  Resolving packages...
[2/4] 🚚  Fetching packages...
[3/4] 🔗  Linking dependencies...
warning "graphql-cli-gramps > @gramps/cli@1.1.4" has unmet peer dependency "graphql@^0.11.7 || ^0.12.0".
warning "graphql-cli-gramps > @gramps/gramps@1.1.0" has unmet peer dependency "graphql@^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0".
warning "graphql-cli-gramps > @gramps/cli > graphql-playground-middleware-express@1.4.8" has unmet peer dependency "express@^4.16.2".
warning "graphql-cli-gramps > @gramps/gramps > graphql-tools@2.18.0" has unmet peer dependency "graphql@^0.11.0 || ^0.12.0".
warning "graphql-cli-gramps > @gramps/cli > apollo-server-express > apollo-server-core@1.3.2" has unmet peer dependency "graphql@^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0".
warning "graphql-cli-gramps > @gramps/gramps > graphql-tools > apollo-link@1.0.7" has unmet peer dependency "graphql@^0.11.3 || ^0.12.3".
warning "graphql-cli-gramps > @gramps/gramps > graphql-tools > graphql-subscriptions@0.5.6" has unmet peer dependency "graphql@^0.10.5 || ^0.11.3 || ^0.12.0".
warning "graphql-cli-gramps > @gramps/cli > apollo-server-express > apollo-server-core > apollo-cache-control@0.0.7" has unmet peer dependency "graphql@^0.10.0 || ^0.11.0".
warning "graphql-cli-gramps > @gramps/cli > apollo-server-express > apollo-server-core > apollo-tracing@0.1.1" has unmet peer dependency "graphql@^0.10.0 || ^0.11.0".
warning "graphql-cli-gramps > @gramps/cli > apollo-server-express > apollo-server-core > graphql-extensions@0.0.5" has unmet peer dependency "graphql@^0.10.0 || ^0.11.0".
[4/4] 📃  Building fresh packages...
warning "graphql-cli-gramps@0.1.0" has no binaries
✨  Done in 2.70s.

Attempting to run the command results in:

Too many non-option arguments: got 2, maximum of 1
Unknown arguments: gramps, dev

I assume that error is because the GrAMPS plugin is failing with missing peer deps.

Should we add the peer deps as deps in this plugin? Or just expect that anyone installing the plugin globally will also install Express and graphql globally?

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