Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing peer dependencies #9

Open
jlengstorf opened this issue Jan 10, 2018 · 1 comment
Open

Missing peer dependencies #9

jlengstorf opened this issue Jan 10, 2018 · 1 comment

Comments

@jlengstorf
Copy link

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/[email protected]" has unmet peer dependency "graphql@^0.11.7 || ^0.12.0".
warning "graphql-cli-gramps > @gramps/[email protected]" has unmet peer dependency "graphql@^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0".
warning "graphql-cli-gramps > @gramps/cli > [email protected]" has unmet peer dependency "express@^4.16.2".
warning "graphql-cli-gramps > @gramps/gramps > [email protected]" has unmet peer dependency "graphql@^0.11.0 || ^0.12.0".
warning "graphql-cli-gramps > @gramps/cli > apollo-server-express > [email protected]" 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 > [email protected]" has unmet peer dependency "graphql@^0.11.3 || ^0.12.3".
warning "graphql-cli-gramps > @gramps/gramps > graphql-tools > [email protected]" 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 > [email protected]" has unmet peer dependency "graphql@^0.10.0 || ^0.11.0".
warning "graphql-cli-gramps > @gramps/cli > apollo-server-express > apollo-server-core > [email protected]" has unmet peer dependency "graphql@^0.10.0 || ^0.11.0".
warning "graphql-cli-gramps > @gramps/cli > apollo-server-express > apollo-server-core > [email protected]" has unmet peer dependency "graphql@^0.10.0 || ^0.11.0".
[4/4] πŸ“ƒ  Building fresh packages...
warning "[email protected]" 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?

@kbrandwijk
Copy link
Contributor

No those are just warnings about the packages that still have no updated dependencies for graphql 0.12. I have heard from others that they have issues with using yarn to install global packages. Installing globally using npm, or installing locally, seemed to fix it for them.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants