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

React versions clash with Relay and Graphiql #11

Closed
asavin opened this issue Aug 26, 2015 · 4 comments
Closed

React versions clash with Relay and Graphiql #11

asavin opened this issue Aug 26, 2015 · 4 comments

Comments

@asavin
Copy link

asavin commented Aug 26, 2015

When using graphiql in Relay app, getting following issue on npm install:

npm ERR! peerinvalid The package react does not satisfy its siblings' peerDependencies requirements!
npm ERR! peerinvalid Peer [email protected] wants react@~0.13.x || ~0.14.x
npm ERR! peerinvalid Peer [email protected] wants react@^0.14.0-beta3

package.json content:

"dependencies": {
    "classnames": "^2.1.3",
    "express": "^4.13.1",
    "express-graphql": "^0.3.0",
    "graphiql": "^0.1.0",
    "graphql": "^0.4.2",
    "graphql-relay": "^0.3.1",
    "isomorphic-fetch": "^2.1.1",
    "jade": "^1.11.0",
    "moment": "^2.10.6",
    "react": "^0.14.0-beta3",
    "react-relay": "^0.1.0",
    "react-router": "1.0.0-beta3",
    "relay-nested-routes": "^0.3.1",
    "require-dir": "^0.3.0"
  }
@asavin asavin changed the title React versions clash with Relay React versions clash with Relay and Graphiql Aug 26, 2015
@leebyron
Copy link
Contributor

Thanks for the report. I'll fix the peer dep to include the v0.14 betas

@LegNeato
Copy link

Should be fixed by #14, right?

@steveluscher
Copy link
Contributor

Yep! This was the driver behind #14.

@asavin
Copy link
Author

asavin commented Sep 1, 2015

Works fine now 👍

@asavin asavin closed this as completed Sep 1, 2015
acao referenced this issue in acao/graphiql Jun 1, 2019
Intellegent typeahead for fragment spread names
acao referenced this issue in acao/graphiql Jun 5, 2019
This is just a wrapper package which depends on the "true" language
service package and links to the README.

Note that I've put this under "packages/" because I would eventually
like to extract some core bits out of the language service into separate
packages (for example the code that is currently copy-pasta'd with
this repo and the codemirror-graphql one), and Lerna would be a good
tool for managing multiple related packages; whether or not those
packages end up living in this repo or another one, seems like it's a
good idea to follow the Lerna convention.
acao pushed a commit that referenced this issue Feb 20, 2022
iterate README and package.json
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

4 participants