React-apollo: UNMET PEER DEPENDENCY: [email protected]

Created on 25 Jan 2017  路  5Comments  路  Source: apollographql/react-apollo

Steps to Reproduce

When following the getting started for react-native by running the following command

npm install apollo-client react-apollo graphql-tag --save

I see the following UNMET PEER DEPENDENCY error

screen shot 2017-01-24 at 11 10 50 pm

Version

Most helpful comment

Apollo Client is at 0.8.0 @jbaxleyiii any reason why we're keeping the peer dependency at 0.6.0?

All 5 comments

I could get it to work by using the following version

npm install [email protected] react-apollo graphql-tag --save

Apollo Client is at 0.8.0 @jbaxleyiii any reason why we're keeping the peer dependency at 0.6.0?

@arjunpola You shouldnt be blocked even with that peer dependency. We just need to know if theres any blockers using 0.8.0 with current version of react-apollo

I'm trying to use 0.8.0 with the latest version of react-apollo, and getting an error from it trying to access the removed resultBehaviors feature:

"node_modules/apollo-client/index"' has no exported member 'MutationBehavior'"

Hi all, I've updated the package to use apollo-client 0.8.0 now. Let me know if it doesn't work for you.

Was this page helpful?
0 / 5 - 0 ratings