-
-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
Duplicate "graphql" modules cannot be used at the same time since different #6073
Comments
Can you please take a look in this thread? You seem to have a similar problem. Can you please also share your current package.json? |
|
I add these lines but I get the same error, |
Can you try to remove |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
I try to run graphql with parse server I get this error
"parse": "2.7.1",
"parse-server": "3.9.0",
Ensure that there is only one instance of "graphql" in the node_modules server_1 | directory. If different versions of "graphql" are the dependencies of other server_1 | relied on modules, use "resolutions" to ensure only one version is installed. server_1 | server_1 | https://yarnpkg.com/en/docs/selective-version-resolutions server_1 | server_1 | Duplicate "graphql" modules cannot be used at the same time since different server_1 | versions may have different capabilities and behavior. The data from one server_1 | version used in the function from another could produce confusing and server_1 | spurious results. server_1 | at instanceOf (/app/node_modules/parse-server/node_modules/graphql/jsutils/instanceOf.js:28:13) server_1 | at isScalarType (/app/node_modules/parse-server/node_modules/graphql/type/definition.js:103:34) server_1 | at isType (/app/node_modules/parse-server/node_modules/graphql/type/definition.js:86:10) server_1 | at isNullableType (/app/node_modules/parse-server/node_modules/graphql/type/definition.js:380:10) server_1 | at assertNullableType (/app/node_modules/parse-server/node_modules/graphql/type/definition.js:384:8) server_1 | at new GraphQLNonNull (/app/node_modules/parse-server/node_modules/graphql/type/definition.js:345:19) server_1 | at Object.load (/app/node_modules/parse-server/lib/GraphQL/loaders/filesMutations.js:30:15) server_1 | at Object.load (/app/node_modules/parse-server/lib/GraphQL/loaders/defaultGraphQLMutations.js:21:18) server_1 | at ParseGraphQLSchema.load (/app/node_modules/parse-server/lib/GraphQL/ParseGraphQLSchema.js:103:29) server_1 | at <anonymous> server_1 | at process._tickDomainCallback (internal/process/next_tick.js:229:7) server_1 | error: Error: Cannot use GraphQLScalarType "Upload" from another module or realm. server_1 | server_1 | Ensure that there is only one instance of "graphql" in the node_modules server_1 | directory. If different versions of "graphql" are the dependencies of other server_1 | relied on modules, use "resolutions" to ensure only one version is installed. server_1 | server_1 | https://yarnpkg.com/en/docs/selective-version-resolutions
The text was updated successfully, but these errors were encountered: