React-apollo: Incorrect peer dependency

Book: Craft GraphQL APIs in Elixir with Absinthe.
Chapter 11: Integrating with the frontend.

yarn add react-apollo


yarn add v1.16.0

[1/4] 🔍 Resolving packages...
[2/4] 🚚 Fetching packages...
[3/4] 🔗 Linking dependencies...
warning " > react-apollo@2.5.6" has incorrect peer dependency "apollo-client@beta".

Is there any way to solve?

Thanks in advance for any help you are able to provide.

Try copying the yarn.lock file from the book code and then doing yarn install.

1 Like

It works perfect, thank you! :smile: