I try to setup the Apollo Client 2.0 on my expo app and I got the following error including some packages specific to the last version of Appolo Client :
Unable to resolve module graphql/language/parser from /Users/sofienethibault/Expo/appolo-client-2-0/node_modules/graphql-tag/lib/graphql-tag.umd.js: Module does not exist in the module map
Does it mean that the compatibility between expo and apollo client 2.0 is not yet possible ?
I do remove all the apollo client packages in the package.json and run => watchman watch-del-all && rm -rf $TMPDIR/react-* && rm -rf node_modules/ && npm cache clean --force && yarn install
After that project works well without any Apollo package
But when i add the following lines :
import { ApolloClient, HttpLink, InMemoryCache } from 'apollo-client-preset';
import gql from 'graphql-tag';
import { ApolloProvider, graphql } from 'react-apollo';