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

v15.1.0 Unable to resolve defineToJSON #2646

Closed
exneval opened this issue Jun 12, 2020 · 3 comments
Closed

v15.1.0 Unable to resolve defineToJSON #2646

exneval opened this issue Jun 12, 2020 · 3 comments
Labels

Comments

@exneval
Copy link

exneval commented Jun 12, 2020

GraphQL version: 15.1.0

Unable to resolve jsutils/defineToJSON at language/ast.js

revert back to 15.0.0 has no problem

@danielrearden
Copy link
Contributor

Thanks for the bug report.

This file was recently renamed. There are no more references to defineToJSON in the code, so it's not clear from just the error above what the problem is. Please verify that you only have one version of graphql in your dependencies. Delete node_modules and run npm install (or yarn install) again. Then run npm ls graphql (or yarn list graphql) to verify that only one version of graphql is installed.

@exneval
Copy link
Author

exneval commented Jun 12, 2020

Thanks for responding @danielrearden
I took your advice and this is what I've encountered

This is the error:
1

and this is the list of the graphql
2

Any advice for it?
Thanks in advance

EDIT: it seems, React Native 0.62.2 issues with graphql 15 because don't have updated of eslint-plugin-relay

@krakzk
Copy link

krakzk commented Sep 27, 2020

Facing the same issue in 0.62.2.
@exneval Any solution to resolve this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants