-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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 Native bundling error because of babel plugin in graphql package #163
Comments
That's odd - @martijnwalraven did you see this when working with react native? |
Had the same with respect to 'transform-runtime' as reported in this issue. I already had preset ES2015 installed. |
So is the solution to somehow declare those dependencies? It's kind of weird that the package.json of the |
Yes, I also had to install these manually, see here for the steps I followed. I linked to what might be a related issue about React Native's Packager there, but I don't fully understand what is going on or what we can do about it yet. |
We can test out fixes with this boilerplate: https://github.com/scaphold-io/react-native-starter-kit |
I'm going to tackle React Native this week. It seems like just a very small modification would fix this bug, and then we can put React Native on the homepage. |
Btw, link to the graphql bug: graphql/graphql-js#414 |
OK, I believe we have conclusively fixed this issue in Apollo Client version |
Hi, I installed the apollo-client on react-native and got this error:
After installing the babel-plugin-transform-runtime I got the same error with the preset es2015. After installing them both, it works.
The text was updated successfully, but these errors were encountered: