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
Error: Cannot use GraphQLScalarType "DateTime" from another module or realm.
Ensure that there is only one instance of "graphql" in the node_modules
directory. If different versions of "graphql" are the dependencies of other
relied on modules, use "resolutions" to ensure only one version is installed.
https://yarnpkg.com/en/docs/selective-version-resolutions
Duplicate "graphql" modules cannot be used at the same time since different
versions may have different capabilities and behavior. The data from one
version used in the function from another could produce confusing and
spurious results.
at instanceOf (/home/capaj/git_projects/graphql-repos/typegql/node_modules/graphql/jsutils/instanceOf.js:15:13)
at isScalarType (/home/capaj/git_projects/graphql-repos/typegql/node_modules/graphql/type/definition.js:98:35)
at Object.isType (/home/capaj/git_projects/graphql-repos/typegql/node_modules/graphql/type/definition.js:84:10)
at resolveType (/home/capaj/git_projects/graphql-repos/typegql/lib/index.js:242:17)
at resolveTypeOrThrow (/home/capaj/git_projects/graphql-repos/typegql/lib/index.js:741:24)
at resolveRegisteredOrInferedType (/home/capaj/git_projects/graphql-repos/typegql/lib/index.js:769:16)
at compileFieldConfig$$1 (/home/capaj/git_projects/graphql-repos/typegql/lib/index.js:802:24)
at /home/capaj/git_projects/graphql-repos/typegql/lib/index.js:828:39
at Array.forEach (<anonymous>)
at getAllFields (/home/capaj/git_projects/graphql-repos/typegql/lib/index.js:823:25)
at /home/capaj/git_projects/graphql-repos/typegql/lib/index.js:836:39
at Array.forEach (<anonymous>)
at compileAllFields$$1 (/home/capaj/git_projects/graphql-repos/typegql/lib/index.js:835:23)
at /home/capaj/git_projects/graphql-repos/typegql/lib/index.js:867:16
at /home/capaj/git_projects/graphql-repos/typegql/lib/index.js:139:22
at resolveThunk (/home/capaj/git_projects/graphql-repos/typegql/node_modules/graphql/type/definition.js:370:40)
[ERROR] 02:08:55 Error: Cannot use GraphQLScalarType "DateTime" from another module or realm.
Ensure that there is only one instance of "graphql" in the node_modules
directory. If different versions of "graphql" are the dependencies of other
relied on modules, use "resolutions" to ensure only one version is installed.
https://yarnpkg.com/en/docs/selective-version-resolutions
Duplicate "graphql" modules cannot be used at the same time since different
versions may have different capabilities and behavior. The data from one
version used in the function from another could produce confusing and
spurious results.
even though I am using the same version of the graphql package in both repos.
Would be nice if npm link worked with graphql as it works for any other node module.
The text was updated successfully, but these errors were encountered:
I get this:
even though I am using the same version of the graphql package in both repos.
Would be nice if
npm link
worked with graphql as it works for any other node module.The text was updated successfully, but these errors were encountered: