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

Dependency issues when upgrading to Apollo Client 2.5 #194

Closed
dphaener opened this issue Feb 26, 2019 · 6 comments · Fixed by apollographql/apollo-client#4503
Closed

Dependency issues when upgrading to Apollo Client 2.5 #194

dphaener opened this issue Feb 26, 2019 · 6 comments · Fixed by apollographql/apollo-client#4503
Assignees

Comments

@dphaener
Copy link

When upgrading to Apollo Client 2.5, we are running into dependency issues when attempting to run the bundler in a React Native environment:

error: bundling failed: Error: Unable to resolve module `graphql-anywhere/lib/async` from `<redacted>/node_modules/apollo-link-state/lib/bundle.umd.js`: Module `graphql-anywhere/lib/async` does not exist in the Haste module map

We have attempted to install graphql-anywhere to resolve this issue, to no avail.

@dphaener
Copy link
Author

@benjamn Any movement on this? I'm really hoping to get upgraded to 2.5 to (hopefully) resolve some link-state issues.

@dphaener
Copy link
Author

To all who are watching this, this is fixed in Apollo Client 2.5.1

@OurMajesty
Copy link

After fresh reinstall it stops working:
изображение
For some reason graphql-anywhere can't be installed (no dir in node_modules). Example:
https://codesandbox.io/s/2zxv78oyrp

If you install it manually (npm i graphql-anywhere) it works again

@sbussard
Copy link

It's not working in "@apollo/client": "^3.0.0-beta.43",

@karpcs
Copy link

karpcs commented Oct 6, 2020

have the same issue on "@apollo/client": "^3.1.0"

@damiangreen
Copy link

same issue on "@apollo/client": "^3.4.16",

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

Successfully merging a pull request may close this issue.

7 participants