You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Duplicate "graphql" modules cannot be used at the same time since different #6073
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
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.
Activity
davimacedo commentedon Sep 27, 2019
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?
WahdanZ commentedon Sep 27, 2019
WahdanZ commentedon Sep 27, 2019
I add these lines but I get the same error,
"resolutions": {
"graphql": "^14.5.4",
"**/graphql": "^14.5.4"
}
davimacedo commentedon Sep 27, 2019
Can you try to remove
parse-dashboardfrom the dependencies and try again? Also, what versions of node and npm you are running?stale commentedon Nov 11, 2019
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.